// Generated from C:/Users/Marvin/Documents/SpinyGui/SpinyGUI/core/src/main/resources/grammars\CSS3.g4 by ANTLR 4.7
package com.spinyowl.spinygui.core.parser.impl.css.parser.antlr;

import java.util.List;
import org.antlr.v4.runtime.NoViableAltException;
import org.antlr.v4.runtime.Parser;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.RecognitionException;
import org.antlr.v4.runtime.RuntimeMetaData;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.TokenStream;
import org.antlr.v4.runtime.Vocabulary;
import org.antlr.v4.runtime.VocabularyImpl;
import org.antlr.v4.runtime.atn.ATN;
import org.antlr.v4.runtime.atn.ATNDeserializer;
import org.antlr.v4.runtime.atn.ParserATNSimulator;
import org.antlr.v4.runtime.atn.PredictionContextCache;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.tree.ParseTreeListener;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
import org.antlr.v4.runtime.tree.TerminalNode;

@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class CSS3Parser extends Parser {

  public static final int
      T__0 = 1, T__1 = 2, T__2 = 3, T__3 = 4, T__4 = 5, T__5 = 6, T__6 = 7, T__7 = 8, T__8 = 9,
      T__9 = 10, T__10 = 11, T__11 = 12, T__12 = 13, T__13 = 14, T__14 = 15, Comment = 16,
      Space = 17, Cdo = 18, Cdc = 19, Includes = 20, DashMatch = 21, Hash = 22, Import = 23,
      Page = 24, Media = 25, Namespace = 26, Charset = 27, Important = 28, Percentage = 29,
      Uri = 30, UnicodeRange = 31, MediaOnly = 32, Not = 33, And = 34, Dimension = 35, UnknownDimension = 36,
      Plus = 37, Minus = 38, Greater = 39, Comma = 40, Tilde = 41, PseudoNot = 42, Number = 43,
      String = 44, PrefixMatch = 45, SuffixMatch = 46, SubstringMatch = 47, FontFace = 48,
      Supports = 49, Or = 50, Keyframes = 51, From = 52, To = 53, Calc = 54, Viewport = 55,
      CounterStyle = 56, FontFeatureValues = 57, DxImageTransform = 58, Variable = 59,
      Var = 60, Ident = 61, Function = 62;
  public static final int
      RULE_stylesheet = 0, RULE_charset = 1, RULE_imports = 2, RULE_namespace = 3,
      RULE_namespacePrefix = 4, RULE_media = 5, RULE_mediaQueryList = 6, RULE_mediaQuery = 7,
      RULE_mediaType = 8, RULE_mediaExpression = 9, RULE_mediaFeature = 10,
      RULE_page = 11, RULE_pseudoPage = 12, RULE_selectorGroup = 13, RULE_selector = 14,
      RULE_combinator = 15, RULE_simpleSelectorSequence = 16, RULE_typeSelector = 17,
      RULE_typeNamespacePrefix = 18, RULE_elementName = 19, RULE_universal = 20,
      RULE_className = 21, RULE_attrib = 22, RULE_pseudo = 23, RULE_functionalPseudo = 24,
      RULE_expression = 25, RULE_negation = 26, RULE_negationArg = 27, RULE_operator = 28,
      RULE_property = 29, RULE_ruleset = 30, RULE_declarationList = 31, RULE_declaration = 32,
      RULE_prio = 33, RULE_value = 34, RULE_expr = 35, RULE_term = 36, RULE_function = 37,
      RULE_dxImageTransform = 38, RULE_hexcolor = 39, RULE_number = 40, RULE_percentage = 41,
      RULE_dimension = 42, RULE_unknownDimension = 43, RULE_any = 44, RULE_atRule = 45,
      RULE_atKeyword = 46, RULE_unused = 47, RULE_block = 48, RULE_nestedStatement = 49,
      RULE_groupRuleBody = 50, RULE_supportsRule = 51, RULE_supportsCondition = 52,
      RULE_supportsConditionInParens = 53, RULE_supportsNegation = 54, RULE_supportsConjunction = 55,
      RULE_supportsDisjunction = 56, RULE_supportsDeclarationCondition = 57,
      RULE_generalEnclosed = 58, RULE_var = 59, RULE_calc = 60, RULE_calcSum = 61,
      RULE_calcProduct = 62, RULE_calcValue = 63, RULE_fontFaceRule = 64, RULE_fontFaceDeclaration = 65,
      RULE_keyframesRule = 66, RULE_keyframesBlocks = 67, RULE_keyframeSelector = 68,
      RULE_viewport = 69, RULE_counterStyle = 70, RULE_fontFeatureValuesRule = 71,
      RULE_fontFamilyNameList = 72, RULE_fontFamilyName = 73, RULE_featureValueBlock = 74,
      RULE_featureType = 75, RULE_featureValueDefinition = 76, RULE_ident = 77,
      RULE_ws = 78;
  public static final String[] ruleNames = {
      "stylesheet", "charset", "imports", "namespace", "namespacePrefix", "media",
      "mediaQueryList", "mediaQuery", "mediaType", "mediaExpression", "mediaFeature",
      "page", "pseudoPage", "selectorGroup", "selector", "combinator", "simpleSelectorSequence",
      "typeSelector", "typeNamespacePrefix", "elementName", "universal", "className",
      "attrib", "pseudo", "functionalPseudo", "expression", "negation", "negationArg",
      "operator", "property", "ruleset", "declarationList", "declaration", "prio",
      "value", "expr", "term", "function", "dxImageTransform", "hexcolor", "number",
      "percentage", "dimension", "unknownDimension", "any", "atRule", "atKeyword",
      "unused", "block", "nestedStatement", "groupRuleBody", "supportsRule",
      "supportsCondition", "supportsConditionInParens", "supportsNegation",
      "supportsConjunction", "supportsDisjunction", "supportsDeclarationCondition",
      "generalEnclosed", "var", "calc", "calcSum", "calcProduct", "calcValue",
      "fontFaceRule", "fontFaceDeclaration", "keyframesRule", "keyframesBlocks",
      "keyframeSelector", "viewport", "counterStyle", "fontFeatureValuesRule",
      "fontFamilyNameList", "fontFamilyName", "featureValueBlock", "featureType",
      "featureValueDefinition", "ident", "ws"
  };
  /**
   * @deprecated Use {@link #VOCABULARY} instead.
   */
  @Deprecated
  public static final String[] tokenNames;
  public static final String _serializedATN =
      "\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3@\u045a\4\2\t\2\4" +
          "\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t" +
          "\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22" +
          "\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31" +
          "\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!" +
          "\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4" +
          ",\t,\4-\t-\4.\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64\t" +
          "\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:\4;\t;\4<\t<\4=\t=" +
          "\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C\tC\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I" +
          "\tI\4J\tJ\4K\tK\4L\tL\4M\tM\4N\tN\4O\tO\4P\tP\3\2\3\2\3\2\7\2\u00a4\n" +
          "\2\f\2\16\2\u00a7\13\2\7\2\u00a9\n\2\f\2\16\2\u00ac\13\2\3\2\3\2\7\2\u00b0" +
          "\n\2\f\2\16\2\u00b3\13\2\7\2\u00b5\n\2\f\2\16\2\u00b8\13\2\3\2\3\2\7\2" +
          "\u00bc\n\2\f\2\16\2\u00bf\13\2\7\2\u00c1\n\2\f\2\16\2\u00c4\13\2\3\2\3" +
          "\2\7\2\u00c8\n\2\f\2\16\2\u00cb\13\2\7\2\u00cd\n\2\f\2\16\2\u00d0\13\2" +
          "\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\5\3\u00de\n\3\3\4\3\4" +
          "\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3" +
          "\4\3\4\3\4\3\4\3\4\3\4\3\4\5\4\u00fa\n\4\3\5\3\5\3\5\3\5\3\5\5\5\u0101" +
          "\n\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\5\5\u010d\n\5\3\5\3\5\3\5" +
          "\5\5\u0112\n\5\3\6\3\6\3\7\3\7\3\7\3\7\3\7\3\7\3\b\3\b\3\b\3\b\3\b\7\b" +
          "\u0121\n\b\f\b\16\b\u0124\13\b\5\b\u0126\n\b\3\b\3\b\3\t\5\t\u012b\n\t" +
          "\3\t\3\t\3\t\3\t\3\t\3\t\3\t\7\t\u0134\n\t\f\t\16\t\u0137\13\t\3\t\3\t" +
          "\3\t\3\t\3\t\7\t\u013e\n\t\f\t\16\t\u0141\13\t\5\t\u0143\n\t\3\n\3\n\3" +
          "\13\3\13\3\13\3\13\3\13\3\13\3\13\5\13\u014e\n\13\3\13\3\13\3\13\3\f\3" +
          "\f\3\f\3\r\3\r\3\r\5\r\u0159\n\r\3\r\3\r\3\r\5\r\u015e\n\r\3\r\3\r\3\r" +
          "\5\r\u0163\n\r\7\r\u0165\n\r\f\r\16\r\u0168\13\r\3\r\3\r\3\r\3\16\3\16" +
          "\3\16\3\16\3\17\3\17\3\17\3\17\3\17\7\17\u0176\n\17\f\17\16\17\u0179\13" +
          "\17\3\20\3\20\3\20\3\20\3\20\3\20\7\20\u0181\n\20\f\20\16\20\u0184\13" +
          "\20\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\5\21\u018e\n\21\3\22\3\22" +
          "\5\22\u0192\n\22\3\22\3\22\3\22\3\22\3\22\7\22\u0199\n\22\f\22\16\22\u019c" +
          "\13\22\3\22\3\22\3\22\3\22\3\22\6\22\u01a3\n\22\r\22\16\22\u01a4\5\22" +
          "\u01a7\n\22\3\23\5\23\u01aa\n\23\3\23\3\23\3\24\3\24\5\24\u01b0\n\24\3" +
          "\24\3\24\3\25\3\25\3\26\5\26\u01b7\n\26\3\26\3\26\3\27\3\27\3\27\3\30" +
          "\3\30\3\30\5\30\u01c1\n\30\3\30\3\30\3\30\3\30\3\30\3\30\5\30\u01c9\n" +
          "\30\3\30\3\30\5\30\u01cd\n\30\3\30\3\30\3\31\3\31\5\31\u01d3\n\31\3\31" +
          "\3\31\5\31\u01d7\n\31\3\32\3\32\3\32\3\32\3\32\3\33\3\33\3\33\3\33\3\33" +
          "\3\33\3\33\5\33\u01e5\n\33\3\33\6\33\u01e8\n\33\r\33\16\33\u01e9\3\34" +
          "\3\34\3\34\3\34\3\34\3\34\3\35\3\35\3\35\3\35\3\35\3\35\5\35\u01f8\n\35" +
          "\3\36\3\36\3\36\3\36\3\36\3\36\3\36\3\36\5\36\u0202\n\36\3\37\3\37\3\37" +
          "\3\37\3\37\3\37\3\37\3\37\3\37\5\37\u020d\n\37\3 \3 \3 \3 \5 \u0213\n" +
          " \3 \3 \3 \3 \7 \u0219\n \f \16 \u021c\13 \3 \3 \3 \5 \u0221\n \3 \3 " +
          "\3 \5 \u0226\n \3!\3!\7!\u022a\n!\f!\16!\u022d\13!\3!\3!\3!\3!\3!\5!\u0234" +
          "\n!\7!\u0236\n!\f!\16!\u0239\13!\3\"\3\"\3\"\3\"\3\"\5\"\u0240\n\"\3\"" +
          "\3\"\3\"\3\"\3\"\5\"\u0247\n\"\3#\3#\3#\3$\3$\3$\3$\3$\6$\u0251\n$\r$" +
          "\16$\u0252\3%\3%\5%\u0257\n%\3%\7%\u025a\n%\f%\16%\u025d\13%\3&\3&\3&" +
          "\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&" +
          "\5&\u0279\n&\3\'\3\'\3\'\3\'\3\'\3\'\3(\3(\3(\3(\3(\3(\3)\3)\3)\3*\5*" +
          "\u028b\n*\3*\3*\3+\5+\u0290\n+\3+\3+\3,\5,\u0295\n,\3,\3,\3-\5-\u029a" +
          "\n-\3-\3-\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3." +
          "\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\3.\7.\u02bf\n.\f.\16.\u02c2\13.\3" +
          ".\3.\3.\3.\3.\3.\3.\7.\u02cb\n.\f.\16.\u02ce\13.\3.\3.\3.\3.\3.\3.\3." +
          "\7.\u02d7\n.\f.\16.\u02da\13.\3.\3.\3.\5.\u02df\n.\3/\3/\3/\7/\u02e4\n" +
          "/\f/\16/\u02e7\13/\3/\3/\3/\5/\u02ec\n/\3\60\3\60\3\60\3\61\3\61\3\61" +
          "\3\61\3\61\3\61\3\61\3\61\3\61\3\61\5\61\u02fb\n\61\3\62\3\62\3\62\3\62" +
          "\3\62\3\62\3\62\3\62\3\62\3\62\3\62\7\62\u0308\n\62\f\62\16\62\u030b\13" +
          "\62\3\62\3\62\3\62\3\63\3\63\3\63\3\63\3\63\3\63\3\63\3\63\3\63\3\63\5" +
          "\63\u031a\n\63\3\64\3\64\3\64\7\64\u031f\n\64\f\64\16\64\u0322\13\64\3" +
          "\64\3\64\3\64\3\65\3\65\3\65\3\65\3\65\3\65\3\66\3\66\3\66\3\66\5\66\u0331" +
          "\n\66\3\67\3\67\3\67\3\67\3\67\3\67\3\67\3\67\5\67\u033b\n\67\38\38\3" +
          "8\38\38\38\39\39\39\39\39\39\39\39\39\39\69\u034d\n9\r9\169\u034e\3:\3" +
          ":\3:\3:\3:\3:\3:\3:\3:\3:\6:\u035b\n:\r:\16:\u035c\3;\3;\3;\3;\3;\3<\3" +
          "<\3<\7<\u0367\n<\f<\16<\u036a\13<\3<\3<\3=\3=\3=\3=\3=\3=\3=\3>\3>\3>" +
          "\3>\3>\3>\3?\3?\3?\3?\3?\3?\3?\3?\3?\7?\u0384\n?\f?\16?\u0387\13?\3@\3" +
          "@\3@\3@\3@\3@\3@\3@\3@\3@\7@\u0393\n@\f@\16@\u0396\13@\3A\3A\3A\3A\3A" +
          "\3A\3A\3A\3A\3A\3A\3A\3A\3A\3A\3A\3A\3A\5A\u03aa\nA\3B\3B\3B\3B\3B\5B" +
          "\u03b1\nB\3B\3B\3B\5B\u03b6\nB\7B\u03b8\nB\fB\16B\u03bb\13B\3B\3B\3B\3" +
          "C\3C\3C\3C\3C\3C\3C\3C\3C\3C\5C\u03ca\nC\3D\3D\3D\3D\3D\3D\3D\3D\3D\3" +
          "D\3D\3D\3E\3E\3E\3E\5E\u03dc\nE\3E\3E\3E\7E\u03e1\nE\fE\16E\u03e4\13E" +
          "\3F\3F\3F\3F\3F\3F\3F\7F\u03ed\nF\fF\16F\u03f0\13F\3G\3G\3G\3G\3G\5G\u03f7" +
          "\nG\3G\3G\3G\3H\3H\3H\3H\3H\3H\3H\5H\u0403\nH\3H\3H\3H\3I\3I\3I\3I\3I" +
          "\3I\3I\7I\u040f\nI\fI\16I\u0412\13I\3I\3I\3I\3J\3J\3J\3J\3J\3J\7J\u041d" +
          "\nJ\fJ\16J\u0420\13J\3K\3K\3K\3K\3K\7K\u0427\nK\fK\16K\u042a\13K\5K\u042c" +
          "\nK\3L\3L\3L\3L\3L\5L\u0433\nL\3L\3L\3L\3L\5L\u0439\nL\7L\u043b\nL\fL" +
          "\16L\u043e\13L\3L\3L\3L\3M\3M\3N\3N\3N\3N\3N\3N\3N\3N\7N\u044d\nN\fN\16" +
          "N\u0450\13N\3O\3O\3P\7P\u0455\nP\fP\16P\u0458\13P\3P\2\2Q\2\4\6\b\n\f" +
          "\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BDFHJLNPRTVXZ\\^" +
          "`bdfhjlnprtvxz|~\u0080\u0082\u0084\u0086\u0088\u008a\u008c\u008e\u0090" +
          "\u0092\u0094\u0096\u0098\u009a\u009c\u009e\2\13\3\2\22\25\4\2  ..\3\2" +
          "\"#\5\2\r\r\26\27/\61\3\2\'(\4\2\4\4@@\4\2\37\37\66\67\6\2\"$\64\64\66" +
          "\67??\3\2\22\23\2\u04ba\2\u00a0\3\2\2\2\4\u00dd\3\2\2\2\6\u00f9\3\2\2" +
          "\2\b\u0111\3\2\2\2\n\u0113\3\2\2\2\f\u0115\3\2\2\2\16\u0125\3\2\2\2\20" +
          "\u0142\3\2\2\2\22\u0144\3\2\2\2\24\u0146\3\2\2\2\26\u0152\3\2\2\2\30\u0155" +
          "\3\2\2\2\32\u016c\3\2\2\2\34\u0170\3\2\2\2\36\u017a\3\2\2\2 \u018d\3\2" +
          "\2\2\"\u01a6\3\2\2\2$\u01a9\3\2\2\2&\u01af\3\2\2\2(\u01b3\3\2\2\2*\u01b6" +
          "\3\2\2\2,\u01ba\3\2\2\2.\u01bd\3\2\2\2\60\u01d0\3\2\2\2\62\u01d8\3\2\2" +
          "\2\64\u01e7\3\2\2\2\66\u01eb\3\2\2\28\u01f7\3\2\2\2:\u0201\3\2\2\2<\u020c" +
          "\3\2\2\2>\u0225\3\2\2\2@\u022b\3\2\2\2B\u0246\3\2\2\2D\u0248\3\2\2\2F" +
          "\u0250\3\2\2\2H\u0254\3\2\2\2J\u0278\3\2\2\2L\u027a\3\2\2\2N\u0280\3\2" +
          "\2\2P\u0286\3\2\2\2R\u028a\3\2\2\2T\u028f\3\2\2\2V\u0294\3\2\2\2X\u0299" +
          "\3\2\2\2Z\u02de\3\2\2\2\\\u02e0\3\2\2\2^\u02ed\3\2\2\2`\u02fa\3\2\2\2" +
          "b\u02fc\3\2\2\2d\u0319\3\2\2\2f\u031b\3\2\2\2h\u0326\3\2\2\2j\u0330\3" +
          "\2\2\2l\u033a\3\2\2\2n\u033c\3\2\2\2p\u0342\3\2\2\2r\u0350\3\2\2\2t\u035e" +
          "\3\2\2\2v\u0363\3\2\2\2x\u036d\3\2\2\2z\u0374\3\2\2\2|\u037a\3\2\2\2~" +
          "\u0388\3\2\2\2\u0080\u03a9\3\2\2\2\u0082\u03ab\3\2\2\2\u0084\u03c9\3\2" +
          "\2\2\u0086\u03cb\3\2\2\2\u0088\u03e2\3\2\2\2\u008a\u03e5\3\2\2\2\u008c" +
          "\u03f1\3\2\2\2\u008e\u03fb\3\2\2\2\u0090\u0407\3\2\2\2\u0092\u0416\3\2" +
          "\2\2\u0094\u042b\3\2\2\2\u0096\u042d\3\2\2\2\u0098\u0442\3\2\2\2\u009a" +
          "\u0444\3\2\2\2\u009c\u0451\3\2\2\2\u009e\u0456\3\2\2\2\u00a0\u00aa\5\u009e" +
          "P\2\u00a1\u00a5\5\4\3\2\u00a2\u00a4\t\2\2\2\u00a3\u00a2\3\2\2\2\u00a4" +
          "\u00a7\3\2\2\2\u00a5\u00a3\3\2\2\2\u00a5\u00a6\3\2\2\2\u00a6\u00a9\3\2" +
          "\2\2\u00a7\u00a5\3\2\2\2\u00a8\u00a1\3\2\2\2\u00a9\u00ac\3\2\2\2\u00aa" +
          "\u00a8\3\2\2\2\u00aa\u00ab\3\2\2\2\u00ab\u00b6\3\2\2\2\u00ac\u00aa\3\2" +
          "\2\2\u00ad\u00b1\5\6\4\2\u00ae\u00b0\t\2\2\2\u00af\u00ae\3\2\2\2\u00b0" +
          "\u00b3\3\2\2\2\u00b1\u00af\3\2\2\2\u00b1\u00b2\3\2\2\2\u00b2\u00b5\3\2" +
          "\2\2\u00b3\u00b1\3\2\2\2\u00b4\u00ad\3\2\2\2\u00b5\u00b8\3\2\2\2\u00b6" +
          "\u00b4\3\2\2\2\u00b6\u00b7\3\2\2\2\u00b7\u00c2\3\2\2\2\u00b8\u00b6\3\2" +
          "\2\2\u00b9\u00bd\5\b\5\2\u00ba\u00bc\t\2\2\2\u00bb\u00ba\3\2\2\2\u00bc" +
          "\u00bf\3\2\2\2\u00bd\u00bb\3\2\2\2\u00bd\u00be\3\2\2\2\u00be\u00c1\3\2" +
          "\2\2\u00bf\u00bd\3\2\2\2\u00c0\u00b9\3\2\2\2\u00c1\u00c4\3\2\2\2\u00c2" +
          "\u00c0\3\2\2\2\u00c2\u00c3\3\2\2\2\u00c3\u00ce\3\2\2\2\u00c4\u00c2\3\2" +
          "\2\2\u00c5\u00c9\5d\63\2\u00c6\u00c8\t\2\2\2\u00c7\u00c6\3\2\2\2\u00c8" +
          "\u00cb\3\2\2\2\u00c9\u00c7\3\2\2\2\u00c9\u00ca\3\2\2\2\u00ca\u00cd\3\2" +
          "\2\2\u00cb\u00c9\3\2\2\2\u00cc\u00c5\3\2\2\2\u00cd\u00d0\3\2\2\2\u00ce" +
          "\u00cc\3\2\2\2\u00ce\u00cf\3\2\2\2\u00cf\3\3\2\2\2\u00d0\u00ce\3\2\2\2" +
          "\u00d1\u00d2\7\35\2\2\u00d2\u00d3\5\u009eP\2\u00d3\u00d4\7.\2\2\u00d4" +
          "\u00d5\5\u009eP\2\u00d5\u00d6\7\3\2\2\u00d6\u00d7\5\u009eP\2\u00d7\u00de" +
          "\3\2\2\2\u00d8\u00d9\7\35\2\2\u00d9\u00da\5\u009eP\2\u00da\u00db\7.\2" +
          "\2\u00db\u00dc\5\u009eP\2\u00dc\u00de\3\2\2\2\u00dd\u00d1\3\2\2\2\u00dd" +
          "\u00d8\3\2\2\2\u00de\5\3\2\2\2\u00df\u00e0\7\31\2\2\u00e0\u00e1\5\u009e" +
          "P\2\u00e1\u00e2\t\3\2\2\u00e2\u00e3\5\u009eP\2\u00e3\u00e4\5\16\b\2\u00e4" +
          "\u00e5\7\3\2\2\u00e5\u00e6\5\u009eP\2\u00e6\u00fa\3\2\2\2\u00e7\u00e8" +
          "\7\31\2\2\u00e8\u00e9\5\u009eP\2\u00e9\u00ea\t\3\2\2\u00ea\u00eb\5\u009e" +
          "P\2\u00eb\u00ec\7\3\2\2\u00ec\u00ed\5\u009eP\2\u00ed\u00fa\3\2\2\2\u00ee" +
          "\u00ef\7\31\2\2\u00ef\u00f0\5\u009eP\2\u00f0\u00f1\t\3\2\2\u00f1\u00f2" +
          "\5\u009eP\2\u00f2\u00f3\5\16\b\2\u00f3\u00fa\3\2\2\2\u00f4\u00f5\7\31" +
          "\2\2\u00f5\u00f6\5\u009eP\2\u00f6\u00f7\t\3\2\2\u00f7\u00f8\5\u009eP\2" +
          "\u00f8\u00fa\3\2\2\2\u00f9\u00df\3\2\2\2\u00f9\u00e7\3\2\2\2\u00f9\u00ee" +
          "\3\2\2\2\u00f9\u00f4\3\2\2\2\u00fa\7\3\2\2\2\u00fb\u00fc\7\34\2\2\u00fc" +
          "\u0100\5\u009eP\2\u00fd\u00fe\5\n\6\2\u00fe\u00ff\5\u009eP\2\u00ff\u0101" +
          "\3\2\2\2\u0100\u00fd\3\2\2\2\u0100\u0101\3\2\2\2\u0101\u0102\3\2\2\2\u0102" +
          "\u0103\t\3\2\2\u0103\u0104\5\u009eP\2\u0104\u0105\7\3\2\2\u0105\u0106" +
          "\5\u009eP\2\u0106\u0112\3\2\2\2\u0107\u0108\7\34\2\2\u0108\u010c\5\u009e" +
          "P\2\u0109\u010a\5\n\6\2\u010a\u010b\5\u009eP\2\u010b\u010d\3\2\2\2\u010c" +
          "\u0109\3\2\2\2\u010c\u010d\3\2\2\2\u010d\u010e\3\2\2\2\u010e\u010f\t\3" +
          "\2\2\u010f\u0110\5\u009eP\2\u0110\u0112\3\2\2\2\u0111\u00fb\3\2\2\2\u0111" +
          "\u0107\3\2\2\2\u0112\t\3\2\2\2\u0113\u0114\5\u009cO\2\u0114\13\3\2\2\2" +
          "\u0115\u0116\7\33\2\2\u0116\u0117\5\u009eP\2\u0117\u0118\5\16\b\2\u0118" +
          "\u0119\5f\64\2\u0119\u011a\5\u009eP\2\u011a\r\3\2\2\2\u011b\u0122\5\20" +
          "\t\2\u011c\u011d\7*\2\2\u011d\u011e\5\u009eP\2\u011e\u011f\5\20\t\2\u011f" +
          "\u0121\3\2\2\2\u0120\u011c\3\2\2\2\u0121\u0124\3\2\2\2\u0122\u0120\3\2" +
          "\2\2\u0122\u0123\3\2\2\2\u0123\u0126\3\2\2\2\u0124\u0122\3\2\2\2\u0125" +
          "\u011b\3\2\2\2\u0125\u0126\3\2\2\2\u0126\u0127\3\2\2\2\u0127\u0128\5\u009e" +
          "P\2\u0128\17\3\2\2\2\u0129\u012b\t\4\2\2\u012a\u0129\3\2\2\2\u012a\u012b" +
          "\3\2\2\2\u012b\u012c\3\2\2\2\u012c\u012d\5\u009eP\2\u012d\u012e\5\22\n" +
          "\2\u012e\u0135\5\u009eP\2\u012f\u0130\7$\2\2\u0130\u0131\5\u009eP\2\u0131" +
          "\u0132\5\24\13\2\u0132\u0134\3\2\2\2\u0133\u012f\3\2\2\2\u0134\u0137\3" +
          "\2\2\2\u0135\u0133\3\2\2\2\u0135\u0136\3\2\2\2\u0136\u0143\3\2\2\2\u0137" +
          "\u0135\3\2\2\2\u0138\u013f\5\24\13\2\u0139\u013a\7$\2\2\u013a\u013b\5" +
          "\u009eP\2\u013b\u013c\5\24\13\2\u013c\u013e\3\2\2\2\u013d\u0139\3\2\2" +
          "\2\u013e\u0141\3\2\2\2\u013f\u013d\3\2\2\2\u013f\u0140\3\2\2\2\u0140\u0143" +
          "\3\2\2\2\u0141\u013f\3\2\2\2\u0142\u012a\3\2\2\2\u0142\u0138\3\2\2\2\u0143" +
          "\21\3\2\2\2\u0144\u0145\5\u009cO\2\u0145\23\3\2\2\2\u0146\u0147\7\4\2" +
          "\2\u0147\u0148\5\u009eP\2\u0148\u014d\5\26\f\2\u0149\u014a\7\5\2\2\u014a" +
          "\u014b\5\u009eP\2\u014b\u014c\5H%\2\u014c\u014e\3\2\2\2\u014d\u0149\3" +
          "\2\2\2\u014d\u014e\3\2\2\2\u014e\u014f\3\2\2\2\u014f\u0150\7\6\2\2\u0150" +
          "\u0151\5\u009eP\2\u0151\25\3\2\2\2\u0152\u0153\5\u009cO\2\u0153\u0154" +
          "\5\u009eP\2\u0154\27\3\2\2\2\u0155\u0156\7\32\2\2\u0156\u0158\5\u009e" +
          "P\2\u0157\u0159\5\32\16\2\u0158\u0157\3\2\2\2\u0158\u0159\3\2\2\2\u0159" +
          "\u015a\3\2\2\2\u015a\u015b\7\7\2\2\u015b\u015d\5\u009eP\2\u015c\u015e" +
          "\5B\"\2\u015d\u015c\3\2\2\2\u015d\u015e\3\2\2\2\u015e\u0166\3\2\2\2\u015f" +
          "\u0160\7\3\2\2\u0160\u0162\5\u009eP\2\u0161\u0163\5B\"\2\u0162\u0161\3" +
          "\2\2\2\u0162\u0163\3\2\2\2\u0163\u0165\3\2\2\2\u0164\u015f\3\2\2\2\u0165" +
          "\u0168\3\2\2\2\u0166\u0164\3\2\2\2\u0166\u0167\3\2\2\2\u0167\u0169\3\2" +
          "\2\2\u0168\u0166\3\2\2\2\u0169\u016a\7\b\2\2\u016a\u016b\5\u009eP\2\u016b" +
          "\31\3\2\2\2\u016c\u016d\7\5\2\2\u016d\u016e\5\u009cO\2\u016e\u016f\5\u009e" +
          "P\2\u016f\33\3\2\2\2\u0170\u0177\5\36\20\2\u0171\u0172\7*\2\2\u0172\u0173" +
          "\5\u009eP\2\u0173\u0174\5\36\20\2\u0174\u0176\3\2\2\2\u0175\u0171\3\2" +
          "\2\2\u0176\u0179\3\2\2\2\u0177\u0175\3\2\2\2\u0177\u0178\3\2\2\2\u0178" +
          "\35\3\2\2\2\u0179\u0177\3\2\2\2\u017a\u017b\5\"\22\2\u017b\u0182\5\u009e" +
          "P\2\u017c\u017d\5 \21\2\u017d\u017e\5\"\22\2\u017e\u017f\5\u009eP\2\u017f" +
          "\u0181\3\2\2\2\u0180\u017c\3\2\2\2\u0181\u0184\3\2\2\2\u0182\u0180\3\2" +
          "\2\2\u0182\u0183\3\2\2\2\u0183\37\3\2\2\2\u0184\u0182\3\2\2\2\u0185\u0186" +
          "\7\'\2\2\u0186\u018e\5\u009eP\2\u0187\u0188\7)\2\2\u0188\u018e\5\u009e" +
          "P\2\u0189\u018a\7+\2\2\u018a\u018e\5\u009eP\2\u018b\u018c\7\23\2\2\u018c" +
          "\u018e\5\u009eP\2\u018d\u0185\3\2\2\2\u018d\u0187\3\2\2\2\u018d\u0189" +
          "\3\2\2\2\u018d\u018b\3\2\2\2\u018e!\3\2\2\2\u018f\u0192\5$\23\2\u0190" +
          "\u0192\5*\26\2\u0191\u018f\3\2\2\2\u0191\u0190\3\2\2\2\u0192\u019a\3\2" +
          "\2\2\u0193\u0199\7\30\2\2\u0194\u0199\5,\27\2\u0195\u0199\5.\30\2\u0196" +
          "\u0199\5\60\31\2\u0197\u0199\5\66\34\2\u0198\u0193\3\2\2\2\u0198\u0194" +
          "\3\2\2\2\u0198\u0195\3\2\2\2\u0198\u0196\3\2\2\2\u0198\u0197\3\2\2\2\u0199" +
          "\u019c\3\2\2\2\u019a\u0198\3\2\2\2\u019a\u019b\3\2\2\2\u019b\u01a7\3\2" +
          "\2\2\u019c\u019a\3\2\2\2\u019d\u01a3\7\30\2\2\u019e\u01a3\5,\27\2\u019f" +
          "\u01a3\5.\30\2\u01a0\u01a3\5\60\31\2\u01a1\u01a3\5\66\34\2\u01a2\u019d" +
          "\3\2\2\2\u01a2\u019e\3\2\2\2\u01a2\u019f\3\2\2\2\u01a2\u01a0\3\2\2\2\u01a2" +
          "\u01a1\3\2\2\2\u01a3\u01a4\3\2\2\2\u01a4\u01a2\3\2\2\2\u01a4\u01a5\3\2" +
          "\2\2\u01a5\u01a7\3\2\2\2\u01a6\u0191\3\2\2\2\u01a6\u01a2\3\2\2\2\u01a7" +
          "#\3\2\2\2\u01a8\u01aa\5&\24\2\u01a9\u01a8\3\2\2\2\u01a9\u01aa\3\2\2\2" +
          "\u01aa\u01ab\3\2\2\2\u01ab\u01ac\5(\25\2\u01ac%\3\2\2\2\u01ad\u01b0\5" +
          "\u009cO\2\u01ae\u01b0\7\t\2\2\u01af\u01ad\3\2\2\2\u01af\u01ae\3\2\2\2" +
          "\u01af\u01b0\3\2\2\2\u01b0\u01b1\3\2\2\2\u01b1\u01b2\7\n\2\2\u01b2\'\3" +
          "\2\2\2\u01b3\u01b4\5\u009cO\2\u01b4)\3\2\2\2\u01b5\u01b7\5&\24\2\u01b6" +
          "\u01b5\3\2\2\2\u01b6\u01b7\3\2\2\2\u01b7\u01b8\3\2\2\2\u01b8\u01b9\7\t" +
          "\2\2\u01b9+\3\2\2\2\u01ba\u01bb\7\13\2\2\u01bb\u01bc\5\u009cO\2\u01bc" +
          "-\3\2\2\2\u01bd\u01be\7\f\2\2\u01be\u01c0\5\u009eP\2\u01bf\u01c1\5&\24" +
          "\2\u01c0\u01bf\3\2\2\2\u01c0\u01c1\3\2\2\2\u01c1\u01c2\3\2\2\2\u01c2\u01c3" +
          "\5\u009cO\2\u01c3\u01cc\5\u009eP\2\u01c4\u01c5\t\5\2\2\u01c5\u01c8\5\u009e" +
          "P\2\u01c6\u01c9\5\u009cO\2\u01c7\u01c9\7.\2\2\u01c8\u01c6\3\2\2\2\u01c8" +
          "\u01c7\3\2\2\2\u01c9\u01ca\3\2\2\2\u01ca\u01cb\5\u009eP\2\u01cb\u01cd" +
          "\3\2\2\2\u01cc\u01c4\3\2\2\2\u01cc\u01cd\3\2\2\2\u01cd\u01ce\3\2\2\2\u01ce" +
          "\u01cf\7\16\2\2\u01cf/\3\2\2\2\u01d0\u01d2\7\5\2\2\u01d1\u01d3\7\5\2\2" +
          "\u01d2\u01d1\3\2\2\2\u01d2\u01d3\3\2\2\2\u01d3\u01d6\3\2\2\2\u01d4\u01d7" +
          "\5\u009cO\2\u01d5\u01d7\5\62\32\2\u01d6\u01d4\3\2\2\2\u01d6\u01d5\3\2" +
          "\2\2\u01d7\61\3\2\2\2\u01d8\u01d9\7@\2\2\u01d9\u01da\5\u009eP\2\u01da" +
          "\u01db\5\64\33\2\u01db\u01dc\7\6\2\2\u01dc\63\3\2\2\2\u01dd\u01e5\7\'" +
          "\2\2\u01de\u01e5\7(\2\2\u01df\u01e5\7%\2\2\u01e0\u01e5\7&\2\2\u01e1\u01e5" +
          "\7-\2\2\u01e2\u01e5\7.\2\2\u01e3\u01e5\5\u009cO\2\u01e4\u01dd\3\2\2\2" +
          "\u01e4\u01de\3\2\2\2\u01e4\u01df\3\2\2\2\u01e4\u01e0\3\2\2\2\u01e4\u01e1" +
          "\3\2\2\2\u01e4\u01e2\3\2\2\2\u01e4\u01e3\3\2\2\2\u01e5\u01e6\3\2\2\2\u01e6" +
          "\u01e8\5\u009eP\2\u01e7\u01e4\3\2\2\2\u01e8\u01e9\3\2\2\2\u01e9\u01e7" +
          "\3\2\2\2\u01e9\u01ea\3\2\2\2\u01ea\65\3\2\2\2\u01eb\u01ec\7,\2\2\u01ec" +
          "\u01ed\5\u009eP\2\u01ed\u01ee\58\35\2\u01ee\u01ef\5\u009eP\2\u01ef\u01f0" +
          "\7\6\2\2\u01f0\67\3\2\2\2\u01f1\u01f8\5$\23\2\u01f2\u01f8\5*\26\2\u01f3" +
          "\u01f8\7\30\2\2\u01f4\u01f8\5,\27\2\u01f5\u01f8\5.\30\2\u01f6\u01f8\5" +
          "\60\31\2\u01f7\u01f1\3\2\2\2\u01f7\u01f2\3\2\2\2\u01f7\u01f3\3\2\2\2\u01f7" +
          "\u01f4\3\2\2\2\u01f7\u01f5\3\2\2\2\u01f7\u01f6\3\2\2\2\u01f89\3\2\2\2" +
          "\u01f9\u01fa\7\17\2\2\u01fa\u0202\5\u009eP\2\u01fb\u01fc\7*\2\2\u01fc" +
          "\u0202\5\u009eP\2\u01fd\u01fe\7\23\2\2\u01fe\u0202\5\u009eP\2\u01ff\u0200" +
          "\7\r\2\2\u0200\u0202\5\u009eP\2\u0201\u01f9\3\2\2\2\u0201\u01fb\3\2\2" +
          "\2\u0201\u01fd\3\2\2\2\u0201\u01ff\3\2\2\2\u0202;\3\2\2\2\u0203\u0204" +
          "\5\u009cO\2\u0204\u0205\5\u009eP\2\u0205\u020d\3\2\2\2\u0206\u0207\7=" +
          "\2\2\u0207\u020d\5\u009eP\2\u0208\u0209\7\t\2\2\u0209\u020d\5\u009cO\2" +
          "\u020a\u020b\7\20\2\2\u020b\u020d\5\u009cO\2\u020c\u0203\3\2\2\2\u020c" +
          "\u0206\3\2\2\2\u020c\u0208\3\2\2\2\u020c\u020a\3\2\2\2\u020d=\3\2\2\2" +
          "\u020e\u020f\5\34\17\2\u020f\u0210\7\7\2\2\u0210\u0212\5\u009eP\2\u0211" +
          "\u0213\5@!\2\u0212\u0211\3\2\2\2\u0212\u0213\3\2\2\2\u0213\u0214\3\2\2" +
          "\2\u0214\u0215\7\b\2\2\u0215\u0216\5\u009eP\2\u0216\u0226\3\2\2\2\u0217" +
          "\u0219\5Z.\2\u0218\u0217\3\2\2\2\u0219\u021c\3\2\2\2\u021a\u0218\3\2\2" +
          "\2\u021a\u021b\3\2\2\2\u021b\u021d\3\2\2\2\u021c\u021a\3\2\2\2\u021d\u021e" +
          "\7\7\2\2\u021e\u0220\5\u009eP\2\u021f\u0221\5@!\2\u0220\u021f\3\2\2\2" +
          "\u0220\u0221\3\2\2\2\u0221\u0222\3\2\2\2\u0222\u0223\7\b\2\2\u0223\u0224" +
          "\5\u009eP\2\u0224\u0226\3\2\2\2\u0225\u020e\3\2\2\2\u0225\u021a\3\2\2" +
          "\2\u0226?\3\2\2\2\u0227\u0228\7\3\2\2\u0228\u022a\5\u009eP\2\u0229\u0227" +
          "\3\2\2\2\u022a\u022d\3\2\2\2\u022b\u0229\3\2\2\2\u022b\u022c\3\2\2\2\u022c" +
          "\u022e\3\2\2\2\u022d\u022b\3\2\2\2\u022e\u022f\5B\"\2\u022f\u0237\5\u009e" +
          "P\2\u0230\u0231\7\3\2\2\u0231\u0233\5\u009eP\2\u0232\u0234\5B\"\2\u0233" +
          "\u0232\3\2\2\2\u0233\u0234\3\2\2\2\u0234\u0236\3\2\2\2\u0235\u0230\3\2" +
          "\2\2\u0236\u0239\3\2\2\2\u0237\u0235\3\2\2\2\u0237\u0238\3\2\2\2\u0238" +
          "A\3\2\2\2\u0239\u0237\3\2\2\2\u023a\u023b\5<\37\2\u023b\u023c\7\5\2\2" +
          "\u023c\u023d\5\u009eP\2\u023d\u023f\5H%\2\u023e\u0240\5D#\2\u023f\u023e" +
          "\3\2\2\2\u023f\u0240\3\2\2\2\u0240\u0247\3\2\2\2\u0241\u0242\5<\37\2\u0242" +
          "\u0243\7\5\2\2\u0243\u0244\5\u009eP\2\u0244\u0245\5F$\2\u0245\u0247\3" +
          "\2\2\2\u0246\u023a\3\2\2\2\u0246\u0241\3\2\2\2\u0247C\3\2\2\2\u0248\u0249" +
          "\7\36\2\2\u0249\u024a\5\u009eP\2\u024aE\3\2\2\2\u024b\u0251\5Z.\2\u024c" +
          "\u0251\5b\62\2\u024d\u024e\5^\60\2\u024e\u024f\5\u009eP\2\u024f\u0251" +
          "\3\2\2\2\u0250\u024b\3\2\2\2\u0250\u024c\3\2\2\2\u0250\u024d\3\2\2\2\u0251" +
          "\u0252\3\2\2\2\u0252\u0250\3\2\2\2\u0252\u0253\3\2\2\2\u0253G\3\2\2\2" +
          "\u0254\u025b\5J&\2\u0255\u0257\5:\36\2\u0256\u0255\3\2\2\2\u0256\u0257" +
          "\3\2\2\2\u0257\u0258\3\2\2\2\u0258\u025a\5J&\2\u0259\u0256\3\2\2\2\u025a" +
          "\u025d\3\2\2\2\u025b\u0259\3\2\2\2\u025b\u025c\3\2\2\2\u025cI\3\2\2\2" +
          "\u025d\u025b\3\2\2\2\u025e\u025f\5R*\2\u025f\u0260\5\u009eP\2\u0260\u0279" +
          "\3\2\2\2\u0261\u0262\5T+\2\u0262\u0263\5\u009eP\2\u0263\u0279\3\2\2\2" +
          "\u0264\u0265\5V,\2\u0265\u0266\5\u009eP\2\u0266\u0279\3\2\2\2\u0267\u0268" +
          "\7.\2\2\u0268\u0279\5\u009eP\2\u0269\u026a\7!\2\2\u026a\u0279\5\u009e" +
          "P\2\u026b\u026c\5\u009cO\2\u026c\u026d\5\u009eP\2\u026d\u0279\3\2\2\2" +
          "\u026e\u0279\5x=\2\u026f\u0270\7 \2\2\u0270\u0279\5\u009eP\2\u0271\u0279" +
          "\5P)\2\u0272\u0279\5z>\2\u0273\u0279\5L\'\2\u0274\u0275\5X-\2\u0275\u0276" +
          "\5\u009eP\2\u0276\u0279\3\2\2\2\u0277\u0279\5N(\2\u0278\u025e\3\2\2\2" +
          "\u0278\u0261\3\2\2\2\u0278\u0264\3\2\2\2\u0278\u0267\3\2\2\2\u0278\u0269" +
          "\3\2\2\2\u0278\u026b\3\2\2\2\u0278\u026e\3\2\2\2\u0278\u026f\3\2\2\2\u0278" +
          "\u0271\3\2\2\2\u0278\u0272\3\2\2\2\u0278\u0273\3\2\2\2\u0278\u0274\3\2" +
          "\2\2\u0278\u0277\3\2\2\2\u0279K\3\2\2\2\u027a\u027b\7@\2\2\u027b\u027c" +
          "\5\u009eP\2\u027c\u027d\5H%\2\u027d\u027e\7\6\2\2\u027e\u027f\5\u009e" +
          "P\2\u027fM\3\2\2\2\u0280\u0281\7<\2\2\u0281\u0282\5\u009eP\2\u0282\u0283" +
          "\5H%\2\u0283\u0284\7\6\2\2\u0284\u0285\5\u009eP\2\u0285O\3\2\2\2\u0286" +
          "\u0287\7\30\2\2\u0287\u0288\5\u009eP\2\u0288Q\3\2\2\2\u0289\u028b\t\6" +
          "\2\2\u028a\u0289\3\2\2\2\u028a\u028b\3\2\2\2\u028b\u028c\3\2\2\2\u028c" +
          "\u028d\7-\2\2\u028dS\3\2\2\2\u028e\u0290\t\6\2\2\u028f\u028e\3\2\2\2\u028f" +
          "\u0290\3\2\2\2\u0290\u0291\3\2\2\2\u0291\u0292\7\37\2\2\u0292U\3\2\2\2" +
          "\u0293\u0295\t\6\2\2\u0294\u0293\3\2\2\2\u0294\u0295\3\2\2\2\u0295\u0296" +
          "\3\2\2\2\u0296\u0297\7%\2\2\u0297W\3\2\2\2\u0298\u029a\t\6\2\2\u0299\u0298" +
          "\3\2\2\2\u0299\u029a\3\2\2\2\u029a\u029b\3\2\2\2\u029b\u029c\7&\2\2\u029c" +
          "Y\3\2\2\2\u029d\u029e\5\u009cO\2\u029e\u029f\5\u009eP\2\u029f\u02df\3" +
          "\2\2\2\u02a0\u02a1\5R*\2\u02a1\u02a2\5\u009eP\2\u02a2\u02df\3\2\2\2\u02a3" +
          "\u02a4\5T+\2\u02a4\u02a5\5\u009eP\2\u02a5\u02df\3\2\2\2\u02a6\u02a7\5" +
          "V,\2\u02a7\u02a8\5\u009eP\2\u02a8\u02df\3\2\2\2\u02a9\u02aa\5X-\2\u02aa" +
          "\u02ab\5\u009eP\2\u02ab\u02df\3\2\2\2\u02ac\u02ad\7.\2\2\u02ad\u02df\5" +
          "\u009eP\2\u02ae\u02af\7 \2\2\u02af\u02df\5\u009eP\2\u02b0\u02b1\7\30\2" +
          "\2\u02b1\u02df\5\u009eP\2\u02b2\u02b3\7!\2\2\u02b3\u02df\5\u009eP\2\u02b4" +
          "\u02b5\7\26\2\2\u02b5\u02df\5\u009eP\2\u02b6\u02b7\7\27\2\2\u02b7\u02df" +
          "\5\u009eP\2\u02b8\u02b9\7\5\2\2\u02b9\u02df\5\u009eP\2\u02ba\u02bb\7@" +
          "\2\2\u02bb\u02c0\5\u009eP\2\u02bc\u02bf\5Z.\2\u02bd\u02bf\5`\61\2\u02be" +
          "\u02bc\3\2\2\2\u02be\u02bd\3\2\2\2\u02bf\u02c2\3\2\2\2\u02c0\u02be\3\2" +
          "\2\2\u02c0\u02c1\3\2\2\2\u02c1\u02c3\3\2\2\2\u02c2\u02c0\3\2\2\2\u02c3" +
          "\u02c4\7\6\2\2\u02c4\u02c5\5\u009eP\2\u02c5\u02df\3\2\2\2\u02c6\u02c7" +
          "\7\4\2\2\u02c7\u02cc\5\u009eP\2\u02c8\u02cb\5Z.\2\u02c9\u02cb\5`\61\2" +
          "\u02ca\u02c8\3\2\2\2\u02ca\u02c9\3\2\2\2\u02cb\u02ce\3\2\2\2\u02cc\u02ca" +
          "\3\2\2\2\u02cc\u02cd\3\2\2\2\u02cd\u02cf\3\2\2\2\u02ce\u02cc\3\2\2\2\u02cf" +
          "\u02d0\7\6\2\2\u02d0\u02d1\5\u009eP\2\u02d1\u02df\3\2\2\2\u02d2\u02d3" +
          "\7\f\2\2\u02d3\u02d8\5\u009eP\2\u02d4\u02d7\5Z.\2\u02d5\u02d7\5`\61\2" +
          "\u02d6\u02d4\3\2\2\2\u02d6\u02d5\3\2\2\2\u02d7\u02da\3\2\2\2\u02d8\u02d6" +
          "\3\2\2\2\u02d8\u02d9\3\2\2\2\u02d9\u02db\3\2\2\2\u02da\u02d8\3\2\2\2\u02db" +
          "\u02dc\7\16\2\2\u02dc\u02dd\5\u009eP\2\u02dd\u02df\3\2\2\2\u02de\u029d" +
          "\3\2\2\2\u02de\u02a0\3\2\2\2\u02de\u02a3\3\2\2\2\u02de\u02a6\3\2\2\2\u02de" +
          "\u02a9\3\2\2\2\u02de\u02ac\3\2\2\2\u02de\u02ae\3\2\2\2\u02de\u02b0\3\2" +
          "\2\2\u02de\u02b2\3\2\2\2\u02de\u02b4\3\2\2\2\u02de\u02b6\3\2\2\2\u02de" +
          "\u02b8\3\2\2\2\u02de\u02ba\3\2\2\2\u02de\u02c6\3\2\2\2\u02de\u02d2\3\2" +
          "\2\2\u02df[\3\2\2\2\u02e0\u02e1\5^\60\2\u02e1\u02e5\5\u009eP\2\u02e2\u02e4" +
          "\5Z.\2\u02e3\u02e2\3\2\2\2\u02e4\u02e7\3\2\2\2\u02e5\u02e3\3\2\2\2\u02e5" +
          "\u02e6\3\2\2\2\u02e6\u02eb\3\2\2\2\u02e7\u02e5\3\2\2\2\u02e8\u02ec\5b" +
          "\62\2\u02e9\u02ea\7\3\2\2\u02ea\u02ec\5\u009eP\2\u02eb\u02e8\3\2\2\2\u02eb" +
          "\u02e9\3\2\2\2\u02ec]\3\2\2\2\u02ed\u02ee\7\21\2\2\u02ee\u02ef\5\u009c" +
          "O\2\u02ef_\3\2\2\2\u02f0\u02fb\5b\62\2\u02f1\u02f2\5^\60\2\u02f2\u02f3" +
          "\5\u009eP\2\u02f3\u02fb\3\2\2\2\u02f4\u02f5\7\3\2\2\u02f5\u02fb\5\u009e" +
          "P\2\u02f6\u02f7\7\24\2\2\u02f7\u02fb\5\u009eP\2\u02f8\u02f9\7\25\2\2\u02f9" +
          "\u02fb\5\u009eP\2\u02fa\u02f0\3\2\2\2\u02fa\u02f1\3\2\2\2\u02fa\u02f4" +
          "\3\2\2\2\u02fa\u02f6\3\2\2\2\u02fa\u02f8\3\2\2\2\u02fba\3\2\2\2\u02fc" +
          "\u02fd\7\7\2\2\u02fd\u0309\5\u009eP\2\u02fe\u0308\5@!\2\u02ff\u0308\5" +
          "d\63\2\u0300\u0308\5Z.\2\u0301\u0308\5b\62\2\u0302\u0303\5^\60\2\u0303" +
          "\u0304\5\u009eP\2\u0304\u0308\3\2\2\2\u0305\u0306\7\3\2\2\u0306\u0308" +
          "\5\u009eP\2\u0307\u02fe\3\2\2\2\u0307\u02ff\3\2\2\2\u0307\u0300\3\2\2" +
          "\2\u0307\u0301\3\2\2\2\u0307\u0302\3\2\2\2\u0307\u0305\3\2\2\2\u0308\u030b" +
          "\3\2\2\2\u0309\u0307\3\2\2\2\u0309\u030a\3\2\2\2\u030a\u030c\3\2\2\2\u030b" +
          "\u0309\3\2\2\2\u030c\u030d\7\b\2\2\u030d\u030e\5\u009eP\2\u030ec\3\2\2" +
          "\2\u030f\u031a\5> \2\u0310\u031a\5\f\7\2\u0311\u031a\5\30\r\2\u0312\u031a" +
          "\5\u0082B\2\u0313\u031a\5\u0086D\2\u0314\u031a\5h\65\2\u0315\u031a\5\u008c" +
          "G\2\u0316\u031a\5\u008eH\2\u0317\u031a\5\u0090I\2\u0318\u031a\5\\/\2\u0319" +
          "\u030f\3\2\2\2\u0319\u0310\3\2\2\2\u0319\u0311\3\2\2\2\u0319\u0312\3\2" +
          "\2\2\u0319\u0313\3\2\2\2\u0319\u0314\3\2\2\2\u0319\u0315\3\2\2\2\u0319" +
          "\u0316\3\2\2\2\u0319\u0317\3\2\2\2\u0319\u0318\3\2\2\2\u031ae\3\2\2\2" +
          "\u031b\u031c\7\7\2\2\u031c\u0320\5\u009eP\2\u031d\u031f\5d\63\2\u031e" +
          "\u031d\3\2\2\2\u031f\u0322\3\2\2\2\u0320\u031e\3\2\2\2\u0320\u0321\3\2" +
          "\2\2\u0321\u0323\3\2\2\2\u0322\u0320\3\2\2\2\u0323\u0324\7\b\2\2\u0324" +
          "\u0325\5\u009eP\2\u0325g\3\2\2\2\u0326\u0327\7\63\2\2\u0327\u0328\5\u009e" +
          "P\2\u0328\u0329\5j\66\2\u0329\u032a\5\u009eP\2\u032a\u032b\5f\64\2\u032b" +
          "i\3\2\2\2\u032c\u0331\5n8\2\u032d\u0331\5p9\2\u032e\u0331\5r:\2\u032f" +
          "\u0331\5l\67\2\u0330\u032c\3\2\2\2\u0330\u032d\3\2\2\2\u0330\u032e\3\2" +
          "\2\2\u0330\u032f\3\2\2\2\u0331k\3\2\2\2\u0332\u0333\7\4\2\2\u0333\u0334" +
          "\5\u009eP\2\u0334\u0335\5j\66\2\u0335\u0336\5\u009eP\2\u0336\u0337\7\6" +
          "\2\2\u0337\u033b\3\2\2\2\u0338\u033b\5t;\2\u0339\u033b\5v<\2\u033a\u0332" +
          "\3\2\2\2\u033a\u0338\3\2\2\2\u033a\u0339\3\2\2\2\u033bm\3\2\2\2\u033c" +
          "\u033d\7#\2\2\u033d\u033e\5\u009eP\2\u033e\u033f\7\23\2\2\u033f\u0340" +
          "\5\u009eP\2\u0340\u0341\5l\67\2\u0341o\3\2\2\2\u0342\u034c\5l\67\2\u0343" +
          "\u0344\5\u009eP\2\u0344\u0345\7\23\2\2\u0345\u0346\5\u009eP\2\u0346\u0347" +
          "\7$\2\2\u0347\u0348\5\u009eP\2\u0348\u0349\7\23\2\2\u0349\u034a\5\u009e" +
          "P\2\u034a\u034b\5l\67\2\u034b\u034d\3\2\2\2\u034c\u0343\3\2\2\2\u034d" +
          "\u034e\3\2\2\2\u034e\u034c\3\2\2\2\u034e\u034f\3\2\2\2\u034fq\3\2\2\2" +
          "\u0350\u035a\5l\67\2\u0351\u0352\5\u009eP\2\u0352\u0353\7\23\2\2\u0353" +
          "\u0354\5\u009eP\2\u0354\u0355\7\64\2\2\u0355\u0356\5\u009eP\2\u0356\u0357" +
          "\7\23\2\2\u0357\u0358\5\u009eP\2\u0358\u0359\5l\67\2\u0359\u035b\3\2\2" +
          "\2\u035a\u0351\3\2\2\2\u035b\u035c\3\2\2\2\u035c\u035a\3\2\2\2\u035c\u035d" +
          "\3\2\2\2\u035ds\3\2\2\2\u035e\u035f\7\4\2\2\u035f\u0360\5\u009eP\2\u0360" +
          "\u0361\5B\"\2\u0361\u0362\7\6\2\2\u0362u\3\2\2\2\u0363\u0368\t\7\2\2\u0364" +
          "\u0367\5Z.\2\u0365\u0367\5`\61\2\u0366\u0364\3\2\2\2\u0366\u0365\3\2\2" +
          "\2\u0367\u036a\3\2\2\2\u0368\u0366\3\2\2\2\u0368\u0369\3\2\2\2\u0369\u036b" +
          "\3\2\2\2\u036a\u0368\3\2\2\2\u036b\u036c\7\6\2\2\u036cw\3\2\2\2\u036d" +
          "\u036e\7>\2\2\u036e\u036f\5\u009eP\2\u036f\u0370\7=\2\2\u0370\u0371\5" +
          "\u009eP\2\u0371\u0372\7\6\2\2\u0372\u0373\5\u009eP\2\u0373y\3\2\2\2\u0374" +
          "\u0375\78\2\2\u0375\u0376\5\u009eP\2\u0376\u0377\5|?\2\u0377\u0378\7\6" +
          "\2\2\u0378\u0379\5\u009eP\2\u0379{\3\2\2\2\u037a\u0385\5~@\2\u037b\u037c" +
          "\7\23\2\2\u037c\u037d\5\u009eP\2\u037d\u037e\t\6\2\2\u037e\u037f\5\u009e" +
          "P\2\u037f\u0380\7\23\2\2\u0380\u0381\5\u009eP\2\u0381\u0382\5~@\2\u0382" +
          "\u0384\3\2\2\2\u0383\u037b\3\2\2\2\u0384\u0387\3\2\2\2\u0385\u0383\3\2" +
          "\2\2\u0385\u0386\3\2\2\2\u0386}\3\2\2\2\u0387\u0385\3\2\2\2\u0388\u0394" +
          "\5\u0080A\2\u0389\u038a\7\t\2\2\u038a\u038b\5\u009eP\2\u038b\u038c\5\u0080" +
          "A\2\u038c\u0393\3\2\2\2\u038d\u038e\7\17\2\2\u038e\u038f\5\u009eP\2\u038f" +
          "\u0390\5R*\2\u0390\u0391\5\u009eP\2\u0391\u0393\3\2\2\2\u0392\u0389\3" +
          "\2\2\2\u0392\u038d\3\2\2\2\u0393\u0396\3\2\2\2\u0394\u0392\3\2\2\2\u0394" +
          "\u0395\3\2\2\2\u0395\177\3\2\2\2\u0396\u0394\3\2\2\2\u0397\u0398\5R*\2" +
          "\u0398\u0399\5\u009eP\2\u0399\u03aa\3\2\2\2\u039a\u039b\5V,\2\u039b\u039c" +
          "\5\u009eP\2\u039c\u03aa\3\2\2\2\u039d\u039e\5X-\2\u039e\u039f\5\u009e" +
          "P\2\u039f\u03aa\3\2\2\2\u03a0\u03a1\5T+\2\u03a1\u03a2\5\u009eP\2\u03a2" +
          "\u03aa\3\2\2\2\u03a3\u03a4\7\4\2\2\u03a4\u03a5\5\u009eP\2\u03a5\u03a6" +
          "\5|?\2\u03a6\u03a7\7\6\2\2\u03a7\u03a8\5\u009eP\2\u03a8\u03aa\3\2\2\2" +
          "\u03a9\u0397\3\2\2\2\u03a9\u039a\3\2\2\2\u03a9\u039d\3\2\2\2\u03a9\u03a0" +
          "\3\2\2\2\u03a9\u03a3\3\2\2\2\u03aa\u0081\3\2\2\2\u03ab\u03ac\7\62\2\2" +
          "\u03ac\u03ad\5\u009eP\2\u03ad\u03ae\7\7\2\2\u03ae\u03b0\5\u009eP\2\u03af" +
          "\u03b1\5\u0084C\2\u03b0\u03af\3\2\2\2\u03b0\u03b1\3\2\2\2\u03b1\u03b9" +
          "\3\2\2\2\u03b2\u03b3\7\3\2\2\u03b3\u03b5\5\u009eP\2\u03b4\u03b6\5\u0084" +
          "C\2\u03b5\u03b4\3\2\2\2\u03b5\u03b6\3\2\2\2\u03b6\u03b8\3\2\2\2\u03b7" +
          "\u03b2\3\2\2\2\u03b8\u03bb\3\2\2\2\u03b9\u03b7\3\2\2\2\u03b9\u03ba\3\2" +
          "\2\2\u03ba\u03bc\3\2\2\2\u03bb\u03b9\3\2\2\2\u03bc\u03bd\7\b\2\2\u03bd" +
          "\u03be\5\u009eP\2\u03be\u0083\3\2\2\2\u03bf\u03c0\5<\37\2\u03c0\u03c1" +
          "\7\5\2\2\u03c1\u03c2\5\u009eP\2\u03c2\u03c3\5H%\2\u03c3\u03ca\3\2\2\2" +
          "\u03c4\u03c5\5<\37\2\u03c5\u03c6\7\5\2\2\u03c6\u03c7\5\u009eP\2\u03c7" +
          "\u03c8\5F$\2\u03c8\u03ca\3\2\2\2\u03c9\u03bf\3\2\2\2\u03c9\u03c4\3\2\2" +
          "\2\u03ca\u0085\3\2\2\2\u03cb\u03cc\7\65\2\2\u03cc\u03cd\5\u009eP\2\u03cd" +
          "\u03ce\7\23\2\2\u03ce\u03cf\5\u009eP\2\u03cf\u03d0\5\u009cO\2\u03d0\u03d1" +
          "\5\u009eP\2\u03d1\u03d2\7\7\2\2\u03d2\u03d3\5\u009eP\2\u03d3\u03d4\5\u0088" +
          "E\2\u03d4\u03d5\7\b\2\2\u03d5\u03d6\5\u009eP\2\u03d6\u0087\3\2\2\2\u03d7" +
          "\u03d8\5\u008aF\2\u03d8\u03d9\7\7\2\2\u03d9\u03db\5\u009eP\2\u03da\u03dc" +
          "\5@!\2\u03db\u03da\3\2\2\2\u03db\u03dc\3\2\2\2\u03dc\u03dd\3\2\2\2\u03dd" +
          "\u03de\7\b\2\2\u03de\u03df\5\u009eP\2\u03df\u03e1\3\2\2\2\u03e0\u03d7" +
          "\3\2\2\2\u03e1\u03e4\3\2\2\2\u03e2\u03e0\3\2\2\2\u03e2\u03e3\3\2\2\2\u03e3" +
          "\u0089\3\2\2\2\u03e4\u03e2\3\2\2\2\u03e5\u03e6\t\b\2\2\u03e6\u03ee\5\u009e" +
          "P\2\u03e7\u03e8\7*\2\2\u03e8\u03e9\5\u009eP\2\u03e9\u03ea\t\b\2\2\u03ea" +
          "\u03eb\5\u009eP\2\u03eb\u03ed\3\2\2\2\u03ec\u03e7\3\2\2\2\u03ed\u03f0" +
          "\3\2\2\2\u03ee\u03ec\3\2\2\2\u03ee\u03ef\3\2\2\2\u03ef\u008b\3\2\2\2\u03f0" +
          "\u03ee\3\2\2\2\u03f1\u03f2\79\2\2\u03f2\u03f3\5\u009eP\2\u03f3\u03f4\7" +
          "\7\2\2\u03f4\u03f6\5\u009eP\2\u03f5\u03f7\5@!\2\u03f6\u03f5\3\2\2\2\u03f6" +
          "\u03f7\3\2\2\2\u03f7\u03f8\3\2\2\2\u03f8\u03f9\7\b\2\2\u03f9\u03fa\5\u009e" +
          "P\2\u03fa\u008d\3\2\2\2\u03fb\u03fc\7:\2\2\u03fc\u03fd\5\u009eP\2\u03fd" +
          "\u03fe\5\u009cO\2\u03fe\u03ff\5\u009eP\2\u03ff\u0400\7\7\2\2\u0400\u0402" +
          "\5\u009eP\2\u0401\u0403\5@!\2\u0402\u0401\3\2\2\2\u0402\u0403\3\2\2\2" +
          "\u0403\u0404\3\2\2\2\u0404\u0405\7\b\2\2\u0405\u0406\5\u009eP\2\u0406" +
          "\u008f\3\2\2\2\u0407\u0408\7;\2\2\u0408\u0409\5\u009eP\2\u0409\u040a\5" +
          "\u0092J\2\u040a\u040b\5\u009eP\2\u040b\u040c\7\7\2\2\u040c\u0410\5\u009e" +
          "P\2\u040d\u040f\5\u0096L\2\u040e\u040d\3\2\2\2\u040f\u0412\3\2\2\2\u0410" +
          "\u040e\3\2\2\2\u0410\u0411\3\2\2\2\u0411\u0413\3\2\2\2\u0412\u0410\3\2" +
          "\2\2\u0413\u0414\7\b\2\2\u0414\u0415\5\u009eP\2\u0415\u0091\3\2\2\2\u0416" +
          "\u041e\5\u0094K\2\u0417\u0418\5\u009eP\2\u0418\u0419\7*\2\2\u0419\u041a" +
          "\5\u009eP\2\u041a\u041b\5\u0094K\2\u041b\u041d\3\2\2\2\u041c\u0417\3\2" +
          "\2\2\u041d\u0420\3\2\2\2\u041e\u041c\3\2\2\2\u041e\u041f\3\2\2\2\u041f" +
          "\u0093\3\2\2\2\u0420\u041e\3\2\2\2\u0421\u042c\7.\2\2\u0422\u0428\5\u009c" +
          "O\2\u0423\u0424\5\u009eP\2\u0424\u0425\5\u009cO\2\u0425\u0427\3\2\2\2" +
          "\u0426\u0423\3\2\2\2\u0427\u042a\3\2\2\2\u0428\u0426\3\2\2\2\u0428\u0429" +
          "\3\2\2\2\u0429\u042c\3\2\2\2\u042a\u0428\3\2\2\2\u042b\u0421\3\2\2\2\u042b" +
          "\u0422\3\2\2\2\u042c\u0095\3\2\2\2\u042d\u042e\5\u0098M\2\u042e\u042f" +
          "\5\u009eP\2\u042f\u0430\7\7\2\2\u0430\u0432\5\u009eP\2\u0431\u0433\5\u009a" +
          "N\2\u0432\u0431\3\2\2\2\u0432\u0433\3\2\2\2\u0433\u043c\3\2\2\2\u0434" +
          "\u0435\5\u009eP\2\u0435\u0436\7\3\2\2\u0436\u0438\5\u009eP\2\u0437\u0439" +
          "\5\u009aN\2\u0438\u0437\3\2\2\2\u0438\u0439\3\2\2\2\u0439\u043b\3\2\2" +
          "\2\u043a\u0434\3\2\2\2\u043b\u043e\3\2\2\2\u043c\u043a\3\2\2\2\u043c\u043d" +
          "\3\2\2\2\u043d\u043f\3\2\2\2\u043e\u043c\3\2\2\2\u043f\u0440\7\b\2\2\u0440" +
          "\u0441\5\u009eP\2\u0441\u0097\3\2\2\2\u0442\u0443\5^\60\2\u0443\u0099" +
          "\3\2\2\2\u0444\u0445\5\u009cO\2\u0445\u0446\5\u009eP\2\u0446\u0447\7\5" +
          "\2\2\u0447\u0448\5\u009eP\2\u0448\u044e\5R*\2\u0449\u044a\5\u009eP\2\u044a" +
          "\u044b\5R*\2\u044b\u044d\3\2\2\2\u044c\u0449\3\2\2\2\u044d\u0450\3\2\2" +
          "\2\u044e\u044c\3\2\2\2\u044e\u044f\3\2\2\2\u044f\u009b\3\2\2\2\u0450\u044e" +
          "\3\2\2\2\u0451\u0452\t\t\2\2\u0452\u009d\3\2\2\2\u0453\u0455\t\n\2\2\u0454" +
          "\u0453\3\2\2\2\u0455\u0458\3\2\2\2\u0456\u0454\3\2\2\2\u0456\u0457\3\2" +
          "\2\2\u0457\u009f\3\2\2\2\u0458\u0456\3\2\2\2l\u00a5\u00aa\u00b1\u00b6" +
          "\u00bd\u00c2\u00c9\u00ce\u00dd\u00f9\u0100\u010c\u0111\u0122\u0125\u012a" +
          "\u0135\u013f\u0142\u014d\u0158\u015d\u0162\u0166\u0177\u0182\u018d\u0191" +
          "\u0198\u019a\u01a2\u01a4\u01a6\u01a9\u01af\u01b6\u01c0\u01c8\u01cc\u01d2" +
          "\u01d6\u01e4\u01e9\u01f7\u0201\u020c\u0212\u021a\u0220\u0225\u022b\u0233" +
          "\u0237\u023f\u0246\u0250\u0252\u0256\u025b\u0278\u028a\u028f\u0294\u0299" +
          "\u02be\u02c0\u02ca\u02cc\u02d6\u02d8\u02de\u02e5\u02eb\u02fa\u0307\u0309" +
          "\u0319\u0320\u0330\u033a\u034e\u035c\u0366\u0368\u0385\u0392\u0394\u03a9" +
          "\u03b0\u03b5\u03b9\u03c9\u03db\u03e2\u03ee\u03f6\u0402\u0410\u041e\u0428" +
          "\u042b\u0432\u0438\u043c\u044e\u0456";
  public static final ATN _ATN =
      new ATNDeserializer().deserialize(_serializedATN.toCharArray());
  protected static final DFA[] _decisionToDFA;
  protected static final PredictionContextCache _sharedContextCache =
      new PredictionContextCache();
  private static final String[] _LITERAL_NAMES = {
      null, "';'", "'('", "':'", "')'", "'{'", "'}'", "'*'", "'|'", "'.'", "'['",
      "'='", "']'", "'/'", "'_'", "'@'", null, null, "'<!--'", "'-->'", "'~='",
      "'|='", null, null, null, null, null, "'@charset '", null, null, null,
      null, null, null, null, null, null, "'+'", "'-'", "'>'", "','", "'~'",
      null, null, null, "'^='", "'$='", "'*='", null, null, null, null, null,
      null, "'calc('", null, null, null, null, null, "'var('"
  };
  private static final String[] _SYMBOLIC_NAMES = {
      null, null, null, null, null, null, null, null, null, null, null, null,
      null, null, null, null, "Comment", "Space", "Cdo", "Cdc", "Includes",
      "DashMatch", "Hash", "Import", "Page", "Media", "Namespace", "Charset",
      "Important", "Percentage", "Uri", "UnicodeRange", "MediaOnly", "Not",
      "And", "Dimension", "UnknownDimension", "Plus", "Minus", "Greater", "Comma",
      "Tilde", "PseudoNot", "Number", "String", "PrefixMatch", "SuffixMatch",
      "SubstringMatch", "FontFace", "Supports", "Or", "Keyframes", "From", "To",
      "Calc", "Viewport", "CounterStyle", "FontFeatureValues", "DxImageTransform",
      "Variable", "Var", "Ident", "Function"
  };
  public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);

  static {
    RuntimeMetaData.checkVersion("4.7", RuntimeMetaData.VERSION);
  }

  static {
    tokenNames = new String[_SYMBOLIC_NAMES.length];
    for (int i = 0; i < tokenNames.length; i++) {
      tokenNames[i] = VOCABULARY.getLiteralName(i);
      if (tokenNames[i] == null) {
        tokenNames[i] = VOCABULARY.getSymbolicName(i);
      }

      if (tokenNames[i] == null) {
        tokenNames[i] = "<INVALID>";
      }
    }
  }

  static {
    _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
    for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
      _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
    }
  }

  public CSS3Parser(TokenStream input) {
    super(input);
    _interp = new ParserATNSimulator(this, _ATN, _decisionToDFA, _sharedContextCache);
  }

  @Override
  @Deprecated
  public String[] getTokenNames() {
    return tokenNames;
  }

  @Override

  public Vocabulary getVocabulary() {
    return VOCABULARY;
  }

  @Override
  public String getGrammarFileName() {
    return "CSS3.g4";
  }

  @Override
  public String[] getRuleNames() {
    return ruleNames;
  }

  @Override
  public String getSerializedATN() {
    return _serializedATN;
  }

  @Override
  public ATN getATN() {
    return _ATN;
  }

  public final StylesheetContext stylesheet() throws RecognitionException {
    StylesheetContext _localctx = new StylesheetContext(_ctx, getState());
    enterRule(_localctx, 0, RULE_stylesheet);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(158);
        ws();
        setState(168);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == Charset) {
          {
            {
              setState(159);
              charset();
              setState(163);
              _errHandler.sync(this);
              _la = _input.LA(1);
              while ((((_la) & ~0x3f) == 0 &&
                  ((1L << _la) & ((1L << Comment) | (1L << Space) | (1L << Cdo) | (1L
                      << Cdc))) != 0)) {
                {
                  {
                    setState(160);
                    _la = _input.LA(1);
                    if (!((((_la) & ~0x3f) == 0 &&
                        ((1L << _la) & ((1L << Comment) | (1L << Space) | (1L
                            << Cdo) | (1L << Cdc))) != 0))) {
                      _errHandler.recoverInline(this);
                    } else {
                      if (_input.LA(1) == Token.EOF) {
                        matchedEOF = true;
                      }
                      _errHandler.reportMatch(this);
                      consume();
                    }
                  }
                }
                setState(165);
                _errHandler.sync(this);
                _la = _input.LA(1);
              }
            }
          }
          setState(170);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(180);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == Import) {
          {
            {
              setState(171);
              imports();
              setState(175);
              _errHandler.sync(this);
              _la = _input.LA(1);
              while ((((_la) & ~0x3f) == 0 &&
                  ((1L << _la) & ((1L << Comment) | (1L << Space) | (1L << Cdo) | (1L
                      << Cdc))) != 0)) {
                {
                  {
                    setState(172);
                    _la = _input.LA(1);
                    if (!((((_la) & ~0x3f) == 0 &&
                        ((1L << _la) & ((1L << Comment) | (1L << Space) | (1L
                            << Cdo) | (1L << Cdc))) != 0))) {
                      _errHandler.recoverInline(this);
                    } else {
                      if (_input.LA(1) == Token.EOF) {
                        matchedEOF = true;
                      }
                      _errHandler.reportMatch(this);
                      consume();
                    }
                  }
                }
                setState(177);
                _errHandler.sync(this);
                _la = _input.LA(1);
              }
            }
          }
          setState(182);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(192);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == Namespace) {
          {
            {
              setState(183);
              namespace();
              setState(187);
              _errHandler.sync(this);
              _la = _input.LA(1);
              while ((((_la) & ~0x3f) == 0 &&
                  ((1L << _la) & ((1L << Comment) | (1L << Space) | (1L << Cdo) | (1L
                      << Cdc))) != 0)) {
                {
                  {
                    setState(184);
                    _la = _input.LA(1);
                    if (!((((_la) & ~0x3f) == 0 &&
                        ((1L << _la) & ((1L << Comment) | (1L << Space) | (1L
                            << Cdo) | (1L << Cdc))) != 0))) {
                      _errHandler.recoverInline(this);
                    } else {
                      if (_input.LA(1) == Token.EOF) {
                        matchedEOF = true;
                      }
                      _errHandler.reportMatch(this);
                      consume();
                    }
                  }
                }
                setState(189);
                _errHandler.sync(this);
                _la = _input.LA(1);
              }
            }
          }
          setState(194);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(204);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << T__1) | (1L << T__2) | (1L << T__4) | (1L << T__6) | (1L
                << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__14) | (1L << Includes)
                | (1L << DashMatch) | (1L << Hash) | (1L << Page) | (1L << Media) | (1L
                << Percentage) | (1L << Uri) | (1L << UnicodeRange) | (1L << MediaOnly) | (
                1L << Not) | (1L << And) | (1L << Dimension) | (1L << UnknownDimension) | (
                1L << Plus) | (1L << Minus) | (1L << PseudoNot) | (1L << Number) | (1L
                << String) | (1L << FontFace) | (1L << Supports) | (1L << Or) | (1L
                << Keyframes) | (1L << From) | (1L << To) | (1L << Viewport) | (1L
                << CounterStyle) | (1L << FontFeatureValues) | (1L << Ident) | (1L
                << Function))) != 0)) {
          {
            {
              setState(195);
              nestedStatement();
              setState(199);
              _errHandler.sync(this);
              _la = _input.LA(1);
              while ((((_la) & ~0x3f) == 0 &&
                  ((1L << _la) & ((1L << Comment) | (1L << Space) | (1L << Cdo) | (1L
                      << Cdc))) != 0)) {
                {
                  {
                    setState(196);
                    _la = _input.LA(1);
                    if (!((((_la) & ~0x3f) == 0 &&
                        ((1L << _la) & ((1L << Comment) | (1L << Space) | (1L
                            << Cdo) | (1L << Cdc))) != 0))) {
                      _errHandler.recoverInline(this);
                    } else {
                      if (_input.LA(1) == Token.EOF) {
                        matchedEOF = true;
                      }
                      _errHandler.reportMatch(this);
                      consume();
                    }
                  }
                }
                setState(201);
                _errHandler.sync(this);
                _la = _input.LA(1);
              }
            }
          }
          setState(206);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final CharsetContext charset() throws RecognitionException {
    CharsetContext _localctx = new CharsetContext(_ctx, getState());
    enterRule(_localctx, 2, RULE_charset);
    try {
      setState(219);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 8, _ctx)) {
        case 1:
          _localctx = new GoodCharsetContext(_localctx);
          enterOuterAlt(_localctx, 1);
        {
          setState(207);
          match(Charset);
          setState(208);
          ws();
          setState(209);
          match(String);
          setState(210);
          ws();
          setState(211);
          match(T__0);
          setState(212);
          ws();
        }
        break;
        case 2:
          _localctx = new BadCharsetContext(_localctx);
          enterOuterAlt(_localctx, 2);
        {
          setState(214);
          match(Charset);
          setState(215);
          ws();
          setState(216);
          match(String);
          setState(217);
          ws();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final ImportsContext imports() throws RecognitionException {
    ImportsContext _localctx = new ImportsContext(_ctx, getState());
    enterRule(_localctx, 4, RULE_imports);
    int _la;
    try {
      setState(247);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 9, _ctx)) {
        case 1:
          _localctx = new GoodImportContext(_localctx);
          enterOuterAlt(_localctx, 1);
        {
          setState(221);
          match(Import);
          setState(222);
          ws();
          setState(223);
          _la = _input.LA(1);
          if (!(_la == Uri || _la == String)) {
            _errHandler.recoverInline(this);
          } else {
            if (_input.LA(1) == Token.EOF) {
              matchedEOF = true;
            }
            _errHandler.reportMatch(this);
            consume();
          }
          setState(224);
          ws();
          setState(225);
          mediaQueryList();
          setState(226);
          match(T__0);
          setState(227);
          ws();
        }
        break;
        case 2:
          _localctx = new GoodImportContext(_localctx);
          enterOuterAlt(_localctx, 2);
        {
          setState(229);
          match(Import);
          setState(230);
          ws();
          setState(231);
          _la = _input.LA(1);
          if (!(_la == Uri || _la == String)) {
            _errHandler.recoverInline(this);
          } else {
            if (_input.LA(1) == Token.EOF) {
              matchedEOF = true;
            }
            _errHandler.reportMatch(this);
            consume();
          }
          setState(232);
          ws();
          setState(233);
          match(T__0);
          setState(234);
          ws();
        }
        break;
        case 3:
          _localctx = new BadImportContext(_localctx);
          enterOuterAlt(_localctx, 3);
        {
          setState(236);
          match(Import);
          setState(237);
          ws();
          setState(238);
          _la = _input.LA(1);
          if (!(_la == Uri || _la == String)) {
            _errHandler.recoverInline(this);
          } else {
            if (_input.LA(1) == Token.EOF) {
              matchedEOF = true;
            }
            _errHandler.reportMatch(this);
            consume();
          }
          setState(239);
          ws();
          setState(240);
          mediaQueryList();
        }
        break;
        case 4:
          _localctx = new BadImportContext(_localctx);
          enterOuterAlt(_localctx, 4);
        {
          setState(242);
          match(Import);
          setState(243);
          ws();
          setState(244);
          _la = _input.LA(1);
          if (!(_la == Uri || _la == String)) {
            _errHandler.recoverInline(this);
          } else {
            if (_input.LA(1) == Token.EOF) {
              matchedEOF = true;
            }
            _errHandler.reportMatch(this);
            consume();
          }
          setState(245);
          ws();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final NamespaceContext namespace() throws RecognitionException {
    NamespaceContext _localctx = new NamespaceContext(_ctx, getState());
    enterRule(_localctx, 6, RULE_namespace);
    int _la;
    try {
      setState(271);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 12, _ctx)) {
        case 1:
          _localctx = new GoodNamespaceContext(_localctx);
          enterOuterAlt(_localctx, 1);
        {
          setState(249);
          match(Namespace);
          setState(250);
          ws();
          setState(254);
          _errHandler.sync(this);
          _la = _input.LA(1);
          if ((((_la) & ~0x3f) == 0 &&
              ((1L << _la) & ((1L << MediaOnly) | (1L << Not) | (1L << And) | (1L << Or)
                  | (1L << From) | (1L << To) | (1L << Ident))) != 0)) {
            {
              setState(251);
              namespacePrefix();
              setState(252);
              ws();
            }
          }

          setState(256);
          _la = _input.LA(1);
          if (!(_la == Uri || _la == String)) {
            _errHandler.recoverInline(this);
          } else {
            if (_input.LA(1) == Token.EOF) {
              matchedEOF = true;
            }
            _errHandler.reportMatch(this);
            consume();
          }
          setState(257);
          ws();
          setState(258);
          match(T__0);
          setState(259);
          ws();
        }
        break;
        case 2:
          _localctx = new BadNamespaceContext(_localctx);
          enterOuterAlt(_localctx, 2);
        {
          setState(261);
          match(Namespace);
          setState(262);
          ws();
          setState(266);
          _errHandler.sync(this);
          _la = _input.LA(1);
          if ((((_la) & ~0x3f) == 0 &&
              ((1L << _la) & ((1L << MediaOnly) | (1L << Not) | (1L << And) | (1L << Or)
                  | (1L << From) | (1L << To) | (1L << Ident))) != 0)) {
            {
              setState(263);
              namespacePrefix();
              setState(264);
              ws();
            }
          }

          setState(268);
          _la = _input.LA(1);
          if (!(_la == Uri || _la == String)) {
            _errHandler.recoverInline(this);
          } else {
            if (_input.LA(1) == Token.EOF) {
              matchedEOF = true;
            }
            _errHandler.reportMatch(this);
            consume();
          }
          setState(269);
          ws();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final NamespacePrefixContext namespacePrefix() throws RecognitionException {
    NamespacePrefixContext _localctx = new NamespacePrefixContext(_ctx, getState());
    enterRule(_localctx, 8, RULE_namespacePrefix);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(273);
        ident();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final MediaContext media() throws RecognitionException {
    MediaContext _localctx = new MediaContext(_ctx, getState());
    enterRule(_localctx, 10, RULE_media);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(275);
        match(Media);
        setState(276);
        ws();
        setState(277);
        mediaQueryList();
        setState(278);
        groupRuleBody();
        setState(279);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final MediaQueryListContext mediaQueryList() throws RecognitionException {
    MediaQueryListContext _localctx = new MediaQueryListContext(_ctx, getState());
    enterRule(_localctx, 12, RULE_mediaQueryList);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(291);
        _errHandler.sync(this);
        switch (getInterpreter().adaptivePredict(_input, 14, _ctx)) {
          case 1: {
            setState(281);
            mediaQuery();
            setState(288);
            _errHandler.sync(this);
            _la = _input.LA(1);
            while (_la == Comma) {
              {
                {
                  setState(282);
                  match(Comma);
                  setState(283);
                  ws();
                  setState(284);
                  mediaQuery();
                }
              }
              setState(290);
              _errHandler.sync(this);
              _la = _input.LA(1);
            }
          }
          break;
        }
        setState(293);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final MediaQueryContext mediaQuery() throws RecognitionException {
    MediaQueryContext _localctx = new MediaQueryContext(_ctx, getState());
    enterRule(_localctx, 14, RULE_mediaQuery);
    int _la;
    try {
      int _alt;
      setState(320);
      _errHandler.sync(this);
      switch (_input.LA(1)) {
        case Comment:
        case Space:
        case MediaOnly:
        case Not:
        case And:
        case Or:
        case From:
        case To:
        case Ident:
          enterOuterAlt(_localctx, 1);
        {
          setState(296);
          _errHandler.sync(this);
          switch (getInterpreter().adaptivePredict(_input, 15, _ctx)) {
            case 1: {
              setState(295);
              _la = _input.LA(1);
              if (!(_la == MediaOnly || _la == Not)) {
                _errHandler.recoverInline(this);
              } else {
                if (_input.LA(1) == Token.EOF) {
                  matchedEOF = true;
                }
                _errHandler.reportMatch(this);
                consume();
              }
            }
            break;
          }
          setState(298);
          ws();
          setState(299);
          mediaType();
          setState(300);
          ws();
          setState(307);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 16, _ctx);
          while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER) {
            if (_alt == 1) {
              {
                {
                  setState(301);
                  match(And);
                  setState(302);
                  ws();
                  setState(303);
                  mediaExpression();
                }
              }
            }
            setState(309);
            _errHandler.sync(this);
            _alt = getInterpreter().adaptivePredict(_input, 16, _ctx);
          }
        }
        break;
        case T__1:
          enterOuterAlt(_localctx, 2);
        {
          setState(310);
          mediaExpression();
          setState(317);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 17, _ctx);
          while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER) {
            if (_alt == 1) {
              {
                {
                  setState(311);
                  match(And);
                  setState(312);
                  ws();
                  setState(313);
                  mediaExpression();
                }
              }
            }
            setState(319);
            _errHandler.sync(this);
            _alt = getInterpreter().adaptivePredict(_input, 17, _ctx);
          }
        }
        break;
        default:
          throw new NoViableAltException(this);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final MediaTypeContext mediaType() throws RecognitionException {
    MediaTypeContext _localctx = new MediaTypeContext(_ctx, getState());
    enterRule(_localctx, 16, RULE_mediaType);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(322);
        ident();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final MediaExpressionContext mediaExpression() throws RecognitionException {
    MediaExpressionContext _localctx = new MediaExpressionContext(_ctx, getState());
    enterRule(_localctx, 18, RULE_mediaExpression);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(324);
        match(T__1);
        setState(325);
        ws();
        setState(326);
        mediaFeature();
        setState(331);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if (_la == T__2) {
          {
            setState(327);
            match(T__2);
            setState(328);
            ws();
            setState(329);
            expr();
          }
        }

        setState(333);
        match(T__3);
        setState(334);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final MediaFeatureContext mediaFeature() throws RecognitionException {
    MediaFeatureContext _localctx = new MediaFeatureContext(_ctx, getState());
    enterRule(_localctx, 20, RULE_mediaFeature);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(336);
        ident();
        setState(337);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final PageContext page() throws RecognitionException {
    PageContext _localctx = new PageContext(_ctx, getState());
    enterRule(_localctx, 22, RULE_page);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(339);
        match(Page);
        setState(340);
        ws();
        setState(342);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if (_la == T__2) {
          {
            setState(341);
            pseudoPage();
          }
        }

        setState(344);
        match(T__4);
        setState(345);
        ws();
        setState(347);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << T__6) | (1L << T__13) | (1L << MediaOnly) | (1L << Not)
                | (1L << And) | (1L << Or) | (1L << From) | (1L << To) | (1L << Variable)
                | (1L << Ident))) != 0)) {
          {
            setState(346);
            declaration();
          }
        }

        setState(356);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == T__0) {
          {
            {
              setState(349);
              match(T__0);
              setState(350);
              ws();
              setState(352);
              _errHandler.sync(this);
              _la = _input.LA(1);
              if ((((_la) & ~0x3f) == 0 &&
                  ((1L << _la) & ((1L << T__6) | (1L << T__13) | (1L << MediaOnly) | (
                      1L << Not) | (1L << And) | (1L << Or) | (1L << From) | (1L
                      << To) | (1L << Variable) | (1L << Ident))) != 0)) {
                {
                  setState(351);
                  declaration();
                }
              }

            }
          }
          setState(358);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(359);
        match(T__5);
        setState(360);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final PseudoPageContext pseudoPage() throws RecognitionException {
    PseudoPageContext _localctx = new PseudoPageContext(_ctx, getState());
    enterRule(_localctx, 24, RULE_pseudoPage);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(362);
        match(T__2);
        setState(363);
        ident();
        setState(364);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final SelectorGroupContext selectorGroup() throws RecognitionException {
    SelectorGroupContext _localctx = new SelectorGroupContext(_ctx, getState());
    enterRule(_localctx, 26, RULE_selectorGroup);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(366);
        selector();
        setState(373);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == Comma) {
          {
            {
              setState(367);
              match(Comma);
              setState(368);
              ws();
              setState(369);
              selector();
            }
          }
          setState(375);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final SelectorContext selector() throws RecognitionException {
    SelectorContext _localctx = new SelectorContext(_ctx, getState());
    enterRule(_localctx, 28, RULE_selector);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(376);
        simpleSelectorSequence();
        setState(377);
        ws();
        setState(384);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << Space) | (1L << Plus) | (1L << Greater) | (1L << Tilde)))
                != 0)) {
          {
            {
              setState(378);
              combinator();
              setState(379);
              simpleSelectorSequence();
              setState(380);
              ws();
            }
          }
          setState(386);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final CombinatorContext combinator() throws RecognitionException {
    CombinatorContext _localctx = new CombinatorContext(_ctx, getState());
    enterRule(_localctx, 30, RULE_combinator);
    try {
      setState(395);
      _errHandler.sync(this);
      switch (_input.LA(1)) {
        case Plus:
          enterOuterAlt(_localctx, 1);
        {
          setState(387);
          match(Plus);
          setState(388);
          ws();
        }
        break;
        case Greater:
          enterOuterAlt(_localctx, 2);
        {
          setState(389);
          match(Greater);
          setState(390);
          ws();
        }
        break;
        case Tilde:
          enterOuterAlt(_localctx, 3);
        {
          setState(391);
          match(Tilde);
          setState(392);
          ws();
        }
        break;
        case Space:
          enterOuterAlt(_localctx, 4);
        {
          setState(393);
          match(Space);
          setState(394);
          ws();
        }
        break;
        default:
          throw new NoViableAltException(this);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final SimpleSelectorSequenceContext simpleSelectorSequence()
      throws RecognitionException {
    SimpleSelectorSequenceContext _localctx = new SimpleSelectorSequenceContext(_ctx,
        getState());
    enterRule(_localctx, 32, RULE_simpleSelectorSequence);
    int _la;
    try {
      setState(420);
      _errHandler.sync(this);
      switch (_input.LA(1)) {
        case T__6:
        case T__7:
        case MediaOnly:
        case Not:
        case And:
        case Or:
        case From:
        case To:
        case Ident:
          enterOuterAlt(_localctx, 1);
        {
          setState(399);
          _errHandler.sync(this);
          switch (getInterpreter().adaptivePredict(_input, 27, _ctx)) {
            case 1: {
              setState(397);
              typeSelector();
            }
            break;
            case 2: {
              setState(398);
              universal();
            }
            break;
          }
          setState(408);
          _errHandler.sync(this);
          _la = _input.LA(1);
          while ((((_la) & ~0x3f) == 0 &&
              ((1L << _la) & ((1L << T__2) | (1L << T__8) | (1L << T__9) | (1L << Hash)
                  | (1L << PseudoNot))) != 0)) {
            {
              setState(406);
              _errHandler.sync(this);
              switch (_input.LA(1)) {
                case Hash: {
                  setState(401);
                  match(Hash);
                }
                break;
                case T__8: {
                  setState(402);
                  className();
                }
                break;
                case T__9: {
                  setState(403);
                  attrib();
                }
                break;
                case T__2: {
                  setState(404);
                  pseudo();
                }
                break;
                case PseudoNot: {
                  setState(405);
                  negation();
                }
                break;
                default:
                  throw new NoViableAltException(this);
              }
            }
            setState(410);
            _errHandler.sync(this);
            _la = _input.LA(1);
          }
        }
        break;
        case T__2:
        case T__8:
        case T__9:
        case Hash:
        case PseudoNot:
          enterOuterAlt(_localctx, 2);
        {
          setState(416);
          _errHandler.sync(this);
          _la = _input.LA(1);
          do {
            {
              setState(416);
              _errHandler.sync(this);
              switch (_input.LA(1)) {
                case Hash: {
                  setState(411);
                  match(Hash);
                }
                break;
                case T__8: {
                  setState(412);
                  className();
                }
                break;
                case T__9: {
                  setState(413);
                  attrib();
                }
                break;
                case T__2: {
                  setState(414);
                  pseudo();
                }
                break;
                case PseudoNot: {
                  setState(415);
                  negation();
                }
                break;
                default:
                  throw new NoViableAltException(this);
              }
            }
            setState(418);
            _errHandler.sync(this);
            _la = _input.LA(1);
          } while ((((_la) & ~0x3f) == 0 &&
              ((1L << _la) & ((1L << T__2) | (1L << T__8) | (1L << T__9) | (1L << Hash)
                  | (1L << PseudoNot))) != 0));
        }
        break;
        default:
          throw new NoViableAltException(this);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final TypeSelectorContext typeSelector() throws RecognitionException {
    TypeSelectorContext _localctx = new TypeSelectorContext(_ctx, getState());
    enterRule(_localctx, 34, RULE_typeSelector);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(423);
        _errHandler.sync(this);
        switch (getInterpreter().adaptivePredict(_input, 33, _ctx)) {
          case 1: {
            setState(422);
            typeNamespacePrefix();
          }
          break;
        }
        setState(425);
        elementName();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final TypeNamespacePrefixContext typeNamespacePrefix() throws RecognitionException {
    TypeNamespacePrefixContext _localctx = new TypeNamespacePrefixContext(_ctx, getState());
    enterRule(_localctx, 36, RULE_typeNamespacePrefix);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(429);
        _errHandler.sync(this);
        switch (_input.LA(1)) {
          case MediaOnly:
          case Not:
          case And:
          case Or:
          case From:
          case To:
          case Ident: {
            setState(427);
            ident();
          }
          break;
          case T__6: {
            setState(428);
            match(T__6);
          }
          break;
          case T__7:
            break;
          default:
            break;
        }
        setState(431);
        match(T__7);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final ElementNameContext elementName() throws RecognitionException {
    ElementNameContext _localctx = new ElementNameContext(_ctx, getState());
    enterRule(_localctx, 38, RULE_elementName);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(433);
        ident();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final UniversalContext universal() throws RecognitionException {
    UniversalContext _localctx = new UniversalContext(_ctx, getState());
    enterRule(_localctx, 40, RULE_universal);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(436);
        _errHandler.sync(this);
        switch (getInterpreter().adaptivePredict(_input, 35, _ctx)) {
          case 1: {
            setState(435);
            typeNamespacePrefix();
          }
          break;
        }
        setState(438);
        match(T__6);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final ClassNameContext className() throws RecognitionException {
    ClassNameContext _localctx = new ClassNameContext(_ctx, getState());
    enterRule(_localctx, 42, RULE_className);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(440);
        match(T__8);
        setState(441);
        ident();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final AttribContext attrib() throws RecognitionException {
    AttribContext _localctx = new AttribContext(_ctx, getState());
    enterRule(_localctx, 44, RULE_attrib);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(443);
        match(T__9);
        setState(444);
        ws();
        setState(446);
        _errHandler.sync(this);
        switch (getInterpreter().adaptivePredict(_input, 36, _ctx)) {
          case 1: {
            setState(445);
            typeNamespacePrefix();
          }
          break;
        }
        setState(448);
        ident();
        setState(449);
        ws();
        setState(458);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << T__10) | (1L << Includes) | (1L << DashMatch) | (1L
                << PrefixMatch) | (1L << SuffixMatch) | (1L << SubstringMatch))) != 0)) {
          {
            setState(450);
            _la = _input.LA(1);
            if (!((((_la) & ~0x3f) == 0 &&
                ((1L << _la) & ((1L << T__10) | (1L << Includes) | (1L << DashMatch) | (
                    1L << PrefixMatch) | (1L << SuffixMatch) | (1L << SubstringMatch)))
                    != 0))) {
              _errHandler.recoverInline(this);
            } else {
              if (_input.LA(1) == Token.EOF) {
                matchedEOF = true;
              }
              _errHandler.reportMatch(this);
              consume();
            }
            setState(451);
            ws();
            setState(454);
            _errHandler.sync(this);
            switch (_input.LA(1)) {
              case MediaOnly:
              case Not:
              case And:
              case Or:
              case From:
              case To:
              case Ident: {
                setState(452);
                ident();
              }
              break;
              case String: {
                setState(453);
                match(String);
              }
              break;
              default:
                throw new NoViableAltException(this);
            }
            setState(456);
            ws();
          }
        }

        setState(460);
        match(T__11);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final PseudoContext pseudo() throws RecognitionException {
    PseudoContext _localctx = new PseudoContext(_ctx, getState());
    enterRule(_localctx, 46, RULE_pseudo);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(462);
        match(T__2);
        setState(464);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if (_la == T__2) {
          {
            setState(463);
            match(T__2);
          }
        }

        setState(468);
        _errHandler.sync(this);
        switch (_input.LA(1)) {
          case MediaOnly:
          case Not:
          case And:
          case Or:
          case From:
          case To:
          case Ident: {
            setState(466);
            ident();
          }
          break;
          case Function: {
            setState(467);
            functionalPseudo();
          }
          break;
          default:
            throw new NoViableAltException(this);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final FunctionalPseudoContext functionalPseudo() throws RecognitionException {
    FunctionalPseudoContext _localctx = new FunctionalPseudoContext(_ctx, getState());
    enterRule(_localctx, 48, RULE_functionalPseudo);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(470);
        match(Function);
        setState(471);
        ws();
        setState(472);
        expression();
        setState(473);
        match(T__3);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final ExpressionContext expression() throws RecognitionException {
    ExpressionContext _localctx = new ExpressionContext(_ctx, getState());
    enterRule(_localctx, 50, RULE_expression);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(485);
        _errHandler.sync(this);
        _la = _input.LA(1);
        do {
          {
            {
              setState(482);
              _errHandler.sync(this);
              switch (_input.LA(1)) {
                case Plus: {
                  setState(475);
                  match(Plus);
                }
                break;
                case Minus: {
                  setState(476);
                  match(Minus);
                }
                break;
                case Dimension: {
                  setState(477);
                  match(Dimension);
                }
                break;
                case UnknownDimension: {
                  setState(478);
                  match(UnknownDimension);
                }
                break;
                case Number: {
                  setState(479);
                  match(Number);
                }
                break;
                case String: {
                  setState(480);
                  match(String);
                }
                break;
                case MediaOnly:
                case Not:
                case And:
                case Or:
                case From:
                case To:
                case Ident: {
                  setState(481);
                  ident();
                }
                break;
                default:
                  throw new NoViableAltException(this);
              }
              setState(484);
              ws();
            }
          }
          setState(487);
          _errHandler.sync(this);
          _la = _input.LA(1);
        } while ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << MediaOnly) | (1L << Not) | (1L << And) | (1L
                << Dimension) | (1L << UnknownDimension) | (1L << Plus) | (1L << Minus) | (
                1L << Number) | (1L << String) | (1L << Or) | (1L << From) | (1L << To) | (
                1L << Ident))) != 0));
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final NegationContext negation() throws RecognitionException {
    NegationContext _localctx = new NegationContext(_ctx, getState());
    enterRule(_localctx, 52, RULE_negation);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(489);
        match(PseudoNot);
        setState(490);
        ws();
        setState(491);
        negationArg();
        setState(492);
        ws();
        setState(493);
        match(T__3);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final NegationArgContext negationArg() throws RecognitionException {
    NegationArgContext _localctx = new NegationArgContext(_ctx, getState());
    enterRule(_localctx, 54, RULE_negationArg);
    try {
      setState(501);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 43, _ctx)) {
        case 1:
          enterOuterAlt(_localctx, 1);
        {
          setState(495);
          typeSelector();
        }
        break;
        case 2:
          enterOuterAlt(_localctx, 2);
        {
          setState(496);
          universal();
        }
        break;
        case 3:
          enterOuterAlt(_localctx, 3);
        {
          setState(497);
          match(Hash);
        }
        break;
        case 4:
          enterOuterAlt(_localctx, 4);
        {
          setState(498);
          className();
        }
        break;
        case 5:
          enterOuterAlt(_localctx, 5);
        {
          setState(499);
          attrib();
        }
        break;
        case 6:
          enterOuterAlt(_localctx, 6);
        {
          setState(500);
          pseudo();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final OperatorContext operator() throws RecognitionException {
    OperatorContext _localctx = new OperatorContext(_ctx, getState());
    enterRule(_localctx, 56, RULE_operator);
    try {
      setState(511);
      _errHandler.sync(this);
      switch (_input.LA(1)) {
        case T__12:
          _localctx = new GoodOperatorContext(_localctx);
          enterOuterAlt(_localctx, 1);
        {
          setState(503);
          match(T__12);
          setState(504);
          ws();
        }
        break;
        case Comma:
          _localctx = new GoodOperatorContext(_localctx);
          enterOuterAlt(_localctx, 2);
        {
          setState(505);
          match(Comma);
          setState(506);
          ws();
        }
        break;
        case Space:
          _localctx = new GoodOperatorContext(_localctx);
          enterOuterAlt(_localctx, 3);
        {
          setState(507);
          match(Space);
          setState(508);
          ws();
        }
        break;
        case T__10:
          _localctx = new BadOperatorContext(_localctx);
          enterOuterAlt(_localctx, 4);
        {
          setState(509);
          match(T__10);
          setState(510);
          ws();
        }
        break;
        default:
          throw new NoViableAltException(this);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final PropertyContext property() throws RecognitionException {
    PropertyContext _localctx = new PropertyContext(_ctx, getState());
    enterRule(_localctx, 58, RULE_property);
    try {
      setState(522);
      _errHandler.sync(this);
      switch (_input.LA(1)) {
        case MediaOnly:
        case Not:
        case And:
        case Or:
        case From:
        case To:
        case Ident:
          _localctx = new GoodPropertyContext(_localctx);
          enterOuterAlt(_localctx, 1);
        {
          setState(513);
          ident();
          setState(514);
          ws();
        }
        break;
        case Variable:
          _localctx = new GoodPropertyContext(_localctx);
          enterOuterAlt(_localctx, 2);
        {
          setState(516);
          match(Variable);
          setState(517);
          ws();
        }
        break;
        case T__6:
          _localctx = new BadPropertyContext(_localctx);
          enterOuterAlt(_localctx, 3);
        {
          setState(518);
          match(T__6);
          setState(519);
          ident();
        }
        break;
        case T__13:
          _localctx = new BadPropertyContext(_localctx);
          enterOuterAlt(_localctx, 4);
        {
          setState(520);
          match(T__13);
          setState(521);
          ident();
        }
        break;
        default:
          throw new NoViableAltException(this);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final RulesetContext ruleset() throws RecognitionException {
    RulesetContext _localctx = new RulesetContext(_ctx, getState());
    enterRule(_localctx, 60, RULE_ruleset);
    int _la;
    try {
      setState(547);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 49, _ctx)) {
        case 1:
          _localctx = new KnownRulesetContext(_localctx);
          enterOuterAlt(_localctx, 1);
        {
          setState(524);
          selectorGroup();
          setState(525);
          match(T__4);
          setState(526);
          ws();
          setState(528);
          _errHandler.sync(this);
          _la = _input.LA(1);
          if ((((_la) & ~0x3f) == 0 &&
              ((1L << _la) & ((1L << T__0) | (1L << T__6) | (1L << T__13) | (1L
                  << MediaOnly) | (1L << Not) | (1L << And) | (1L << Or) | (1L << From)
                  | (1L << To) | (1L << Variable) | (1L << Ident))) != 0)) {
            {
              setState(527);
              declarationList();
            }
          }

          setState(530);
          match(T__5);
          setState(531);
          ws();
        }
        break;
        case 2:
          _localctx = new UnknownRulesetContext(_localctx);
          enterOuterAlt(_localctx, 2);
        {
          setState(536);
          _errHandler.sync(this);
          _la = _input.LA(1);
          while ((((_la) & ~0x3f) == 0 &&
              ((1L << _la) & ((1L << T__1) | (1L << T__2) | (1L << T__9) | (1L
                  << Includes) | (1L << DashMatch) | (1L << Hash) | (1L << Percentage) | (
                  1L << Uri) | (1L << UnicodeRange) | (1L << MediaOnly) | (1L << Not) | (
                  1L << And) | (1L << Dimension) | (1L << UnknownDimension) | (1L << Plus)
                  | (1L << Minus) | (1L << Number) | (1L << String) | (1L << Or) | (1L
                  << From) | (1L << To) | (1L << Ident) | (1L << Function))) != 0)) {
            {
              {
                setState(533);
                any();
              }
            }
            setState(538);
            _errHandler.sync(this);
            _la = _input.LA(1);
          }
          setState(539);
          match(T__4);
          setState(540);
          ws();
          setState(542);
          _errHandler.sync(this);
          _la = _input.LA(1);
          if ((((_la) & ~0x3f) == 0 &&
              ((1L << _la) & ((1L << T__0) | (1L << T__6) | (1L << T__13) | (1L
                  << MediaOnly) | (1L << Not) | (1L << And) | (1L << Or) | (1L << From)
                  | (1L << To) | (1L << Variable) | (1L << Ident))) != 0)) {
            {
              setState(541);
              declarationList();
            }
          }

          setState(544);
          match(T__5);
          setState(545);
          ws();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final DeclarationListContext declarationList() throws RecognitionException {
    DeclarationListContext _localctx = new DeclarationListContext(_ctx, getState());
    enterRule(_localctx, 62, RULE_declarationList);
    int _la;
    try {
      int _alt;
      enterOuterAlt(_localctx, 1);
      {
        setState(553);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == T__0) {
          {
            {
              setState(549);
              match(T__0);
              setState(550);
              ws();
            }
          }
          setState(555);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(556);
        declaration();
        setState(557);
        ws();
        setState(565);
        _errHandler.sync(this);
        _alt = getInterpreter().adaptivePredict(_input, 52, _ctx);
        while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER) {
          if (_alt == 1) {
            {
              {
                setState(558);
                match(T__0);
                setState(559);
                ws();
                setState(561);
                _errHandler.sync(this);
                switch (getInterpreter().adaptivePredict(_input, 51, _ctx)) {
                  case 1: {
                    setState(560);
                    declaration();
                  }
                  break;
                }
              }
            }
          }
          setState(567);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 52, _ctx);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final DeclarationContext declaration() throws RecognitionException {
    DeclarationContext _localctx = new DeclarationContext(_ctx, getState());
    enterRule(_localctx, 64, RULE_declaration);
    int _la;
    try {
      setState(580);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 54, _ctx)) {
        case 1:
          _localctx = new KnownDeclarationContext(_localctx);
          enterOuterAlt(_localctx, 1);
        {
          setState(568);
          property();
          setState(569);
          match(T__2);
          setState(570);
          ws();
          setState(571);
          expr();
          setState(573);
          _errHandler.sync(this);
          _la = _input.LA(1);
          if (_la == Important) {
            {
              setState(572);
              prio();
            }
          }

        }
        break;
        case 2:
          _localctx = new UnknownDeclarationContext(_localctx);
          enterOuterAlt(_localctx, 2);
        {
          setState(575);
          property();
          setState(576);
          match(T__2);
          setState(577);
          ws();
          setState(578);
          value();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final PrioContext prio() throws RecognitionException {
    PrioContext _localctx = new PrioContext(_ctx, getState());
    enterRule(_localctx, 66, RULE_prio);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(582);
        match(Important);
        setState(583);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final ValueContext value() throws RecognitionException {
    ValueContext _localctx = new ValueContext(_ctx, getState());
    enterRule(_localctx, 68, RULE_value);
    try {
      int _alt;
      enterOuterAlt(_localctx, 1);
      {
        setState(590);
        _errHandler.sync(this);
        _alt = 1;
        do {
          switch (_alt) {
            case 1: {
              setState(590);
              _errHandler.sync(this);
              switch (_input.LA(1)) {
                case T__1:
                case T__2:
                case T__9:
                case Includes:
                case DashMatch:
                case Hash:
                case Percentage:
                case Uri:
                case UnicodeRange:
                case MediaOnly:
                case Not:
                case And:
                case Dimension:
                case UnknownDimension:
                case Plus:
                case Minus:
                case Number:
                case String:
                case Or:
                case From:
                case To:
                case Ident:
                case Function: {
                  setState(585);
                  any();
                }
                break;
                case T__4: {
                  setState(586);
                  block();
                }
                break;
                case T__14: {
                  setState(587);
                  atKeyword();
                  setState(588);
                  ws();
                }
                break;
                default:
                  throw new NoViableAltException(this);
              }
            }
            break;
            default:
              throw new NoViableAltException(this);
          }
          setState(592);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 56, _ctx);
        } while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final ExprContext expr() throws RecognitionException {
    ExprContext _localctx = new ExprContext(_ctx, getState());
    enterRule(_localctx, 70, RULE_expr);
    int _la;
    try {
      int _alt;
      enterOuterAlt(_localctx, 1);
      {
        setState(594);
        term();
        setState(601);
        _errHandler.sync(this);
        _alt = getInterpreter().adaptivePredict(_input, 58, _ctx);
        while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER) {
          if (_alt == 1) {
            {
              {
                setState(596);
                _errHandler.sync(this);
                _la = _input.LA(1);
                if ((((_la) & ~0x3f) == 0 &&
                    ((1L << _la) & ((1L << T__10) | (1L << T__12) | (1L << Space)
                        | (1L << Comma))) != 0)) {
                  {
                    setState(595);
                    operator();
                  }
                }

                setState(598);
                term();
              }
            }
          }
          setState(603);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 58, _ctx);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final TermContext term() throws RecognitionException {
    TermContext _localctx = new TermContext(_ctx, getState());
    enterRule(_localctx, 72, RULE_term);
    try {
      setState(630);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 59, _ctx)) {
        case 1:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 1);
        {
          setState(604);
          number();
          setState(605);
          ws();
        }
        break;
        case 2:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 2);
        {
          setState(607);
          percentage();
          setState(608);
          ws();
        }
        break;
        case 3:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 3);
        {
          setState(610);
          dimension();
          setState(611);
          ws();
        }
        break;
        case 4:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 4);
        {
          setState(613);
          match(String);
          setState(614);
          ws();
        }
        break;
        case 5:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 5);
        {
          setState(615);
          match(UnicodeRange);
          setState(616);
          ws();
        }
        break;
        case 6:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 6);
        {
          setState(617);
          ident();
          setState(618);
          ws();
        }
        break;
        case 7:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 7);
        {
          setState(620);
          var();
        }
        break;
        case 8:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 8);
        {
          setState(621);
          match(Uri);
          setState(622);
          ws();
        }
        break;
        case 9:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 9);
        {
          setState(623);
          hexcolor();
        }
        break;
        case 10:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 10);
        {
          setState(624);
          calc();
        }
        break;
        case 11:
          _localctx = new KnownTermContext(_localctx);
          enterOuterAlt(_localctx, 11);
        {
          setState(625);
          function();
        }
        break;
        case 12:
          _localctx = new UnknownTermContext(_localctx);
          enterOuterAlt(_localctx, 12);
        {
          setState(626);
          unknownDimension();
          setState(627);
          ws();
        }
        break;
        case 13:
          _localctx = new BadTermContext(_localctx);
          enterOuterAlt(_localctx, 13);
        {
          setState(629);
          dxImageTransform();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final FunctionContext function() throws RecognitionException {
    FunctionContext _localctx = new FunctionContext(_ctx, getState());
    enterRule(_localctx, 74, RULE_function);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(632);
        match(Function);
        setState(633);
        ws();
        setState(634);
        expr();
        setState(635);
        match(T__3);
        setState(636);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final DxImageTransformContext dxImageTransform() throws RecognitionException {
    DxImageTransformContext _localctx = new DxImageTransformContext(_ctx, getState());
    enterRule(_localctx, 76, RULE_dxImageTransform);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(638);
        match(DxImageTransform);
        setState(639);
        ws();
        setState(640);
        expr();
        setState(641);
        match(T__3);
        setState(642);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final HexcolorContext hexcolor() throws RecognitionException {
    HexcolorContext _localctx = new HexcolorContext(_ctx, getState());
    enterRule(_localctx, 78, RULE_hexcolor);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(644);
        match(Hash);
        setState(645);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final NumberContext number() throws RecognitionException {
    NumberContext _localctx = new NumberContext(_ctx, getState());
    enterRule(_localctx, 80, RULE_number);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(648);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if (_la == Plus || _la == Minus) {
          {
            setState(647);
            _la = _input.LA(1);
            if (!(_la == Plus || _la == Minus)) {
              _errHandler.recoverInline(this);
            } else {
              if (_input.LA(1) == Token.EOF) {
                matchedEOF = true;
              }
              _errHandler.reportMatch(this);
              consume();
            }
          }
        }

        setState(650);
        match(Number);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final PercentageContext percentage() throws RecognitionException {
    PercentageContext _localctx = new PercentageContext(_ctx, getState());
    enterRule(_localctx, 82, RULE_percentage);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(653);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if (_la == Plus || _la == Minus) {
          {
            setState(652);
            _la = _input.LA(1);
            if (!(_la == Plus || _la == Minus)) {
              _errHandler.recoverInline(this);
            } else {
              if (_input.LA(1) == Token.EOF) {
                matchedEOF = true;
              }
              _errHandler.reportMatch(this);
              consume();
            }
          }
        }

        setState(655);
        match(Percentage);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final DimensionContext dimension() throws RecognitionException {
    DimensionContext _localctx = new DimensionContext(_ctx, getState());
    enterRule(_localctx, 84, RULE_dimension);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(658);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if (_la == Plus || _la == Minus) {
          {
            setState(657);
            _la = _input.LA(1);
            if (!(_la == Plus || _la == Minus)) {
              _errHandler.recoverInline(this);
            } else {
              if (_input.LA(1) == Token.EOF) {
                matchedEOF = true;
              }
              _errHandler.reportMatch(this);
              consume();
            }
          }
        }

        setState(660);
        match(Dimension);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final UnknownDimensionContext unknownDimension() throws RecognitionException {
    UnknownDimensionContext _localctx = new UnknownDimensionContext(_ctx, getState());
    enterRule(_localctx, 86, RULE_unknownDimension);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(663);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if (_la == Plus || _la == Minus) {
          {
            setState(662);
            _la = _input.LA(1);
            if (!(_la == Plus || _la == Minus)) {
              _errHandler.recoverInline(this);
            } else {
              if (_input.LA(1) == Token.EOF) {
                matchedEOF = true;
              }
              _errHandler.reportMatch(this);
              consume();
            }
          }
        }

        setState(665);
        match(UnknownDimension);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final AnyContext any() throws RecognitionException {
    AnyContext _localctx = new AnyContext(_ctx, getState());
    enterRule(_localctx, 88, RULE_any);
    int _la;
    try {
      setState(732);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 70, _ctx)) {
        case 1:
          enterOuterAlt(_localctx, 1);
        {
          setState(667);
          ident();
          setState(668);
          ws();
        }
        break;
        case 2:
          enterOuterAlt(_localctx, 2);
        {
          setState(670);
          number();
          setState(671);
          ws();
        }
        break;
        case 3:
          enterOuterAlt(_localctx, 3);
        {
          setState(673);
          percentage();
          setState(674);
          ws();
        }
        break;
        case 4:
          enterOuterAlt(_localctx, 4);
        {
          setState(676);
          dimension();
          setState(677);
          ws();
        }
        break;
        case 5:
          enterOuterAlt(_localctx, 5);
        {
          setState(679);
          unknownDimension();
          setState(680);
          ws();
        }
        break;
        case 6:
          enterOuterAlt(_localctx, 6);
        {
          setState(682);
          match(String);
          setState(683);
          ws();
        }
        break;
        case 7:
          enterOuterAlt(_localctx, 7);
        {
          setState(684);
          match(Uri);
          setState(685);
          ws();
        }
        break;
        case 8:
          enterOuterAlt(_localctx, 8);
        {
          setState(686);
          match(Hash);
          setState(687);
          ws();
        }
        break;
        case 9:
          enterOuterAlt(_localctx, 9);
        {
          setState(688);
          match(UnicodeRange);
          setState(689);
          ws();
        }
        break;
        case 10:
          enterOuterAlt(_localctx, 10);
        {
          setState(690);
          match(Includes);
          setState(691);
          ws();
        }
        break;
        case 11:
          enterOuterAlt(_localctx, 11);
        {
          setState(692);
          match(DashMatch);
          setState(693);
          ws();
        }
        break;
        case 12:
          enterOuterAlt(_localctx, 12);
        {
          setState(694);
          match(T__2);
          setState(695);
          ws();
        }
        break;
        case 13:
          enterOuterAlt(_localctx, 13);
        {
          setState(696);
          match(Function);
          setState(697);
          ws();
          setState(702);
          _errHandler.sync(this);
          _la = _input.LA(1);
          while ((((_la) & ~0x3f) == 0 &&
              ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__4)
                  | (1L << T__9) | (1L << T__14) | (1L << Cdo) | (1L << Cdc) | (1L
                  << Includes) | (1L << DashMatch) | (1L << Hash) | (1L << Percentage) | (
                  1L << Uri) | (1L << UnicodeRange) | (1L << MediaOnly) | (1L << Not) | (
                  1L << And) | (1L << Dimension) | (1L << UnknownDimension) | (1L << Plus)
                  | (1L << Minus) | (1L << Number) | (1L << String) | (1L << Or) | (1L
                  << From) | (1L << To) | (1L << Ident) | (1L << Function))) != 0)) {
            {
              setState(700);
              _errHandler.sync(this);
              switch (_input.LA(1)) {
                case T__1:
                case T__2:
                case T__9:
                case Includes:
                case DashMatch:
                case Hash:
                case Percentage:
                case Uri:
                case UnicodeRange:
                case MediaOnly:
                case Not:
                case And:
                case Dimension:
                case UnknownDimension:
                case Plus:
                case Minus:
                case Number:
                case String:
                case Or:
                case From:
                case To:
                case Ident:
                case Function: {
                  setState(698);
                  any();
                }
                break;
                case T__0:
                case T__4:
                case T__14:
                case Cdo:
                case Cdc: {
                  setState(699);
                  unused();
                }
                break;
                default:
                  throw new NoViableAltException(this);
              }
            }
            setState(704);
            _errHandler.sync(this);
            _la = _input.LA(1);
          }
          setState(705);
          match(T__3);
          setState(706);
          ws();
        }
        break;
        case 14:
          enterOuterAlt(_localctx, 14);
        {
          setState(708);
          match(T__1);
          setState(709);
          ws();
          setState(714);
          _errHandler.sync(this);
          _la = _input.LA(1);
          while ((((_la) & ~0x3f) == 0 &&
              ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__4)
                  | (1L << T__9) | (1L << T__14) | (1L << Cdo) | (1L << Cdc) | (1L
                  << Includes) | (1L << DashMatch) | (1L << Hash) | (1L << Percentage) | (
                  1L << Uri) | (1L << UnicodeRange) | (1L << MediaOnly) | (1L << Not) | (
                  1L << And) | (1L << Dimension) | (1L << UnknownDimension) | (1L << Plus)
                  | (1L << Minus) | (1L << Number) | (1L << String) | (1L << Or) | (1L
                  << From) | (1L << To) | (1L << Ident) | (1L << Function))) != 0)) {
            {
              setState(712);
              _errHandler.sync(this);
              switch (_input.LA(1)) {
                case T__1:
                case T__2:
                case T__9:
                case Includes:
                case DashMatch:
                case Hash:
                case Percentage:
                case Uri:
                case UnicodeRange:
                case MediaOnly:
                case Not:
                case And:
                case Dimension:
                case UnknownDimension:
                case Plus:
                case Minus:
                case Number:
                case String:
                case Or:
                case From:
                case To:
                case Ident:
                case Function: {
                  setState(710);
                  any();
                }
                break;
                case T__0:
                case T__4:
                case T__14:
                case Cdo:
                case Cdc: {
                  setState(711);
                  unused();
                }
                break;
                default:
                  throw new NoViableAltException(this);
              }
            }
            setState(716);
            _errHandler.sync(this);
            _la = _input.LA(1);
          }
          setState(717);
          match(T__3);
          setState(718);
          ws();
        }
        break;
        case 15:
          enterOuterAlt(_localctx, 15);
        {
          setState(720);
          match(T__9);
          setState(721);
          ws();
          setState(726);
          _errHandler.sync(this);
          _la = _input.LA(1);
          while ((((_la) & ~0x3f) == 0 &&
              ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__4)
                  | (1L << T__9) | (1L << T__14) | (1L << Cdo) | (1L << Cdc) | (1L
                  << Includes) | (1L << DashMatch) | (1L << Hash) | (1L << Percentage) | (
                  1L << Uri) | (1L << UnicodeRange) | (1L << MediaOnly) | (1L << Not) | (
                  1L << And) | (1L << Dimension) | (1L << UnknownDimension) | (1L << Plus)
                  | (1L << Minus) | (1L << Number) | (1L << String) | (1L << Or) | (1L
                  << From) | (1L << To) | (1L << Ident) | (1L << Function))) != 0)) {
            {
              setState(724);
              _errHandler.sync(this);
              switch (_input.LA(1)) {
                case T__1:
                case T__2:
                case T__9:
                case Includes:
                case DashMatch:
                case Hash:
                case Percentage:
                case Uri:
                case UnicodeRange:
                case MediaOnly:
                case Not:
                case And:
                case Dimension:
                case UnknownDimension:
                case Plus:
                case Minus:
                case Number:
                case String:
                case Or:
                case From:
                case To:
                case Ident:
                case Function: {
                  setState(722);
                  any();
                }
                break;
                case T__0:
                case T__4:
                case T__14:
                case Cdo:
                case Cdc: {
                  setState(723);
                  unused();
                }
                break;
                default:
                  throw new NoViableAltException(this);
              }
            }
            setState(728);
            _errHandler.sync(this);
            _la = _input.LA(1);
          }
          setState(729);
          match(T__11);
          setState(730);
          ws();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final AtRuleContext atRule() throws RecognitionException {
    AtRuleContext _localctx = new AtRuleContext(_ctx, getState());
    enterRule(_localctx, 90, RULE_atRule);
    int _la;
    try {
      _localctx = new UnknownAtRuleContext(_localctx);
      enterOuterAlt(_localctx, 1);
      {
        setState(734);
        atKeyword();
        setState(735);
        ws();
        setState(739);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << T__1) | (1L << T__2) | (1L << T__9) | (1L << Includes)
                | (1L << DashMatch) | (1L << Hash) | (1L << Percentage) | (1L << Uri) | (1L
                << UnicodeRange) | (1L << MediaOnly) | (1L << Not) | (1L << And) | (1L
                << Dimension) | (1L << UnknownDimension) | (1L << Plus) | (1L << Minus) | (
                1L << Number) | (1L << String) | (1L << Or) | (1L << From) | (1L << To) | (
                1L << Ident) | (1L << Function))) != 0)) {
          {
            {
              setState(736);
              any();
            }
          }
          setState(741);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(745);
        _errHandler.sync(this);
        switch (_input.LA(1)) {
          case T__4: {
            setState(742);
            block();
          }
          break;
          case T__0: {
            setState(743);
            match(T__0);
            setState(744);
            ws();
          }
          break;
          default:
            throw new NoViableAltException(this);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final AtKeywordContext atKeyword() throws RecognitionException {
    AtKeywordContext _localctx = new AtKeywordContext(_ctx, getState());
    enterRule(_localctx, 92, RULE_atKeyword);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(747);
        match(T__14);
        setState(748);
        ident();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final UnusedContext unused() throws RecognitionException {
    UnusedContext _localctx = new UnusedContext(_ctx, getState());
    enterRule(_localctx, 94, RULE_unused);
    try {
      setState(760);
      _errHandler.sync(this);
      switch (_input.LA(1)) {
        case T__4:
          enterOuterAlt(_localctx, 1);
        {
          setState(750);
          block();
        }
        break;
        case T__14:
          enterOuterAlt(_localctx, 2);
        {
          setState(751);
          atKeyword();
          setState(752);
          ws();
        }
        break;
        case T__0:
          enterOuterAlt(_localctx, 3);
        {
          setState(754);
          match(T__0);
          setState(755);
          ws();
        }
        break;
        case Cdo:
          enterOuterAlt(_localctx, 4);
        {
          setState(756);
          match(Cdo);
          setState(757);
          ws();
        }
        break;
        case Cdc:
          enterOuterAlt(_localctx, 5);
        {
          setState(758);
          match(Cdc);
          setState(759);
          ws();
        }
        break;
        default:
          throw new NoViableAltException(this);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final BlockContext block() throws RecognitionException {
    BlockContext _localctx = new BlockContext(_ctx, getState());
    enterRule(_localctx, 96, RULE_block);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(762);
        match(T__4);
        setState(763);
        ws();
        setState(775);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__4) | (1L
                << T__6) | (1L << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__13) | (1L
                << T__14) | (1L << Includes) | (1L << DashMatch) | (1L << Hash) | (1L
                << Page) | (1L << Media) | (1L << Percentage) | (1L << Uri) | (1L
                << UnicodeRange) | (1L << MediaOnly) | (1L << Not) | (1L << And) | (1L
                << Dimension) | (1L << UnknownDimension) | (1L << Plus) | (1L << Minus) | (
                1L << PseudoNot) | (1L << Number) | (1L << String) | (1L << FontFace) | (1L
                << Supports) | (1L << Or) | (1L << Keyframes) | (1L << From) | (1L << To)
                | (1L << Viewport) | (1L << CounterStyle) | (1L << FontFeatureValues) | (1L
                << Variable) | (1L << Ident) | (1L << Function))) != 0)) {
          {
            setState(773);
            _errHandler.sync(this);
            switch (getInterpreter().adaptivePredict(_input, 74, _ctx)) {
              case 1: {
                setState(764);
                declarationList();
              }
              break;
              case 2: {
                setState(765);
                nestedStatement();
              }
              break;
              case 3: {
                setState(766);
                any();
              }
              break;
              case 4: {
                setState(767);
                block();
              }
              break;
              case 5: {
                setState(768);
                atKeyword();
                setState(769);
                ws();
              }
              break;
              case 6: {
                setState(771);
                match(T__0);
                setState(772);
                ws();
              }
              break;
            }
          }
          setState(777);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(778);
        match(T__5);
        setState(779);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final NestedStatementContext nestedStatement() throws RecognitionException {
    NestedStatementContext _localctx = new NestedStatementContext(_ctx, getState());
    enterRule(_localctx, 98, RULE_nestedStatement);
    try {
      setState(791);
      _errHandler.sync(this);
      switch (_input.LA(1)) {
        case T__1:
        case T__2:
        case T__4:
        case T__6:
        case T__7:
        case T__8:
        case T__9:
        case Includes:
        case DashMatch:
        case Hash:
        case Percentage:
        case Uri:
        case UnicodeRange:
        case MediaOnly:
        case Not:
        case And:
        case Dimension:
        case UnknownDimension:
        case Plus:
        case Minus:
        case PseudoNot:
        case Number:
        case String:
        case Or:
        case From:
        case To:
        case Ident:
        case Function:
          enterOuterAlt(_localctx, 1);
        {
          setState(781);
          ruleset();
        }
        break;
        case Media:
          enterOuterAlt(_localctx, 2);
        {
          setState(782);
          media();
        }
        break;
        case Page:
          enterOuterAlt(_localctx, 3);
        {
          setState(783);
          page();
        }
        break;
        case FontFace:
          enterOuterAlt(_localctx, 4);
        {
          setState(784);
          fontFaceRule();
        }
        break;
        case Keyframes:
          enterOuterAlt(_localctx, 5);
        {
          setState(785);
          keyframesRule();
        }
        break;
        case Supports:
          enterOuterAlt(_localctx, 6);
        {
          setState(786);
          supportsRule();
        }
        break;
        case Viewport:
          enterOuterAlt(_localctx, 7);
        {
          setState(787);
          viewport();
        }
        break;
        case CounterStyle:
          enterOuterAlt(_localctx, 8);
        {
          setState(788);
          counterStyle();
        }
        break;
        case FontFeatureValues:
          enterOuterAlt(_localctx, 9);
        {
          setState(789);
          fontFeatureValuesRule();
        }
        break;
        case T__14:
          enterOuterAlt(_localctx, 10);
        {
          setState(790);
          atRule();
        }
        break;
        default:
          throw new NoViableAltException(this);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final GroupRuleBodyContext groupRuleBody() throws RecognitionException {
    GroupRuleBodyContext _localctx = new GroupRuleBodyContext(_ctx, getState());
    enterRule(_localctx, 100, RULE_groupRuleBody);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(793);
        match(T__4);
        setState(794);
        ws();
        setState(798);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << T__1) | (1L << T__2) | (1L << T__4) | (1L << T__6) | (1L
                << T__7) | (1L << T__8) | (1L << T__9) | (1L << T__14) | (1L << Includes)
                | (1L << DashMatch) | (1L << Hash) | (1L << Page) | (1L << Media) | (1L
                << Percentage) | (1L << Uri) | (1L << UnicodeRange) | (1L << MediaOnly) | (
                1L << Not) | (1L << And) | (1L << Dimension) | (1L << UnknownDimension) | (
                1L << Plus) | (1L << Minus) | (1L << PseudoNot) | (1L << Number) | (1L
                << String) | (1L << FontFace) | (1L << Supports) | (1L << Or) | (1L
                << Keyframes) | (1L << From) | (1L << To) | (1L << Viewport) | (1L
                << CounterStyle) | (1L << FontFeatureValues) | (1L << Ident) | (1L
                << Function))) != 0)) {
          {
            {
              setState(795);
              nestedStatement();
            }
          }
          setState(800);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(801);
        match(T__5);
        setState(802);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final SupportsRuleContext supportsRule() throws RecognitionException {
    SupportsRuleContext _localctx = new SupportsRuleContext(_ctx, getState());
    enterRule(_localctx, 102, RULE_supportsRule);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(804);
        match(Supports);
        setState(805);
        ws();
        setState(806);
        supportsCondition();
        setState(807);
        ws();
        setState(808);
        groupRuleBody();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final SupportsConditionContext supportsCondition() throws RecognitionException {
    SupportsConditionContext _localctx = new SupportsConditionContext(_ctx, getState());
    enterRule(_localctx, 104, RULE_supportsCondition);
    try {
      setState(814);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 78, _ctx)) {
        case 1:
          enterOuterAlt(_localctx, 1);
        {
          setState(810);
          supportsNegation();
        }
        break;
        case 2:
          enterOuterAlt(_localctx, 2);
        {
          setState(811);
          supportsConjunction();
        }
        break;
        case 3:
          enterOuterAlt(_localctx, 3);
        {
          setState(812);
          supportsDisjunction();
        }
        break;
        case 4:
          enterOuterAlt(_localctx, 4);
        {
          setState(813);
          supportsConditionInParens();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final SupportsConditionInParensContext supportsConditionInParens()
      throws RecognitionException {
    SupportsConditionInParensContext _localctx = new SupportsConditionInParensContext(_ctx,
        getState());
    enterRule(_localctx, 106, RULE_supportsConditionInParens);
    try {
      setState(824);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 79, _ctx)) {
        case 1:
          enterOuterAlt(_localctx, 1);
        {
          setState(816);
          match(T__1);
          setState(817);
          ws();
          setState(818);
          supportsCondition();
          setState(819);
          ws();
          setState(820);
          match(T__3);
        }
        break;
        case 2:
          enterOuterAlt(_localctx, 2);
        {
          setState(822);
          supportsDeclarationCondition();
        }
        break;
        case 3:
          enterOuterAlt(_localctx, 3);
        {
          setState(823);
          generalEnclosed();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final SupportsNegationContext supportsNegation() throws RecognitionException {
    SupportsNegationContext _localctx = new SupportsNegationContext(_ctx, getState());
    enterRule(_localctx, 108, RULE_supportsNegation);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(826);
        match(Not);
        setState(827);
        ws();
        setState(828);
        match(Space);
        setState(829);
        ws();
        setState(830);
        supportsConditionInParens();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final SupportsConjunctionContext supportsConjunction() throws RecognitionException {
    SupportsConjunctionContext _localctx = new SupportsConjunctionContext(_ctx, getState());
    enterRule(_localctx, 110, RULE_supportsConjunction);
    try {
      int _alt;
      enterOuterAlt(_localctx, 1);
      {
        setState(832);
        supportsConditionInParens();
        setState(842);
        _errHandler.sync(this);
        _alt = 1;
        do {
          switch (_alt) {
            case 1: {
              {
                setState(833);
                ws();
                setState(834);
                match(Space);
                setState(835);
                ws();
                setState(836);
                match(And);
                setState(837);
                ws();
                setState(838);
                match(Space);
                setState(839);
                ws();
                setState(840);
                supportsConditionInParens();
              }
            }
            break;
            default:
              throw new NoViableAltException(this);
          }
          setState(844);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 80, _ctx);
        } while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final SupportsDisjunctionContext supportsDisjunction() throws RecognitionException {
    SupportsDisjunctionContext _localctx = new SupportsDisjunctionContext(_ctx, getState());
    enterRule(_localctx, 112, RULE_supportsDisjunction);
    try {
      int _alt;
      enterOuterAlt(_localctx, 1);
      {
        setState(846);
        supportsConditionInParens();
        setState(856);
        _errHandler.sync(this);
        _alt = 1;
        do {
          switch (_alt) {
            case 1: {
              {
                setState(847);
                ws();
                setState(848);
                match(Space);
                setState(849);
                ws();
                setState(850);
                match(Or);
                setState(851);
                ws();
                setState(852);
                match(Space);
                setState(853);
                ws();
                setState(854);
                supportsConditionInParens();
              }
            }
            break;
            default:
              throw new NoViableAltException(this);
          }
          setState(858);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 81, _ctx);
        } while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final SupportsDeclarationConditionContext supportsDeclarationCondition()
      throws RecognitionException {
    SupportsDeclarationConditionContext _localctx = new SupportsDeclarationConditionContext(
        _ctx, getState());
    enterRule(_localctx, 114, RULE_supportsDeclarationCondition);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(860);
        match(T__1);
        setState(861);
        ws();
        setState(862);
        declaration();
        setState(863);
        match(T__3);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final GeneralEnclosedContext generalEnclosed() throws RecognitionException {
    GeneralEnclosedContext _localctx = new GeneralEnclosedContext(_ctx, getState());
    enterRule(_localctx, 116, RULE_generalEnclosed);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(865);
        _la = _input.LA(1);
        if (!(_la == T__1 || _la == Function)) {
          _errHandler.recoverInline(this);
        } else {
          if (_input.LA(1) == Token.EOF) {
            matchedEOF = true;
          }
          _errHandler.reportMatch(this);
          consume();
        }
        setState(870);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << T__0) | (1L << T__1) | (1L << T__2) | (1L << T__4) | (1L
                << T__9) | (1L << T__14) | (1L << Cdo) | (1L << Cdc) | (1L << Includes) | (
                1L << DashMatch) | (1L << Hash) | (1L << Percentage) | (1L << Uri) | (1L
                << UnicodeRange) | (1L << MediaOnly) | (1L << Not) | (1L << And) | (1L
                << Dimension) | (1L << UnknownDimension) | (1L << Plus) | (1L << Minus) | (
                1L << Number) | (1L << String) | (1L << Or) | (1L << From) | (1L << To) | (
                1L << Ident) | (1L << Function))) != 0)) {
          {
            setState(868);
            _errHandler.sync(this);
            switch (_input.LA(1)) {
              case T__1:
              case T__2:
              case T__9:
              case Includes:
              case DashMatch:
              case Hash:
              case Percentage:
              case Uri:
              case UnicodeRange:
              case MediaOnly:
              case Not:
              case And:
              case Dimension:
              case UnknownDimension:
              case Plus:
              case Minus:
              case Number:
              case String:
              case Or:
              case From:
              case To:
              case Ident:
              case Function: {
                setState(866);
                any();
              }
              break;
              case T__0:
              case T__4:
              case T__14:
              case Cdo:
              case Cdc: {
                setState(867);
                unused();
              }
              break;
              default:
                throw new NoViableAltException(this);
            }
          }
          setState(872);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(873);
        match(T__3);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final VarContext var() throws RecognitionException {
    VarContext _localctx = new VarContext(_ctx, getState());
    enterRule(_localctx, 118, RULE_var);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(875);
        match(Var);
        setState(876);
        ws();
        setState(877);
        match(Variable);
        setState(878);
        ws();
        setState(879);
        match(T__3);
        setState(880);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final CalcContext calc() throws RecognitionException {
    CalcContext _localctx = new CalcContext(_ctx, getState());
    enterRule(_localctx, 120, RULE_calc);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(882);
        match(Calc);
        setState(883);
        ws();
        setState(884);
        calcSum();
        setState(885);
        match(T__3);
        setState(886);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final CalcSumContext calcSum() throws RecognitionException {
    CalcSumContext _localctx = new CalcSumContext(_ctx, getState());
    enterRule(_localctx, 122, RULE_calcSum);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(888);
        calcProduct();
        setState(899);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == Space) {
          {
            {
              setState(889);
              match(Space);
              setState(890);
              ws();
              setState(891);
              _la = _input.LA(1);
              if (!(_la == Plus || _la == Minus)) {
                _errHandler.recoverInline(this);
              } else {
                if (_input.LA(1) == Token.EOF) {
                  matchedEOF = true;
                }
                _errHandler.reportMatch(this);
                consume();
              }
              setState(892);
              ws();
              setState(893);
              match(Space);
              setState(894);
              ws();
              setState(895);
              calcProduct();
            }
          }
          setState(901);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final CalcProductContext calcProduct() throws RecognitionException {
    CalcProductContext _localctx = new CalcProductContext(_ctx, getState());
    enterRule(_localctx, 124, RULE_calcProduct);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(902);
        calcValue();
        setState(914);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == T__6 || _la == T__12) {
          {
            setState(912);
            _errHandler.sync(this);
            switch (_input.LA(1)) {
              case T__6: {
                setState(903);
                match(T__6);
                setState(904);
                ws();
                setState(905);
                calcValue();
              }
              break;
              case T__12: {
                setState(907);
                match(T__12);
                setState(908);
                ws();
                setState(909);
                number();
                setState(910);
                ws();
              }
              break;
              default:
                throw new NoViableAltException(this);
            }
          }
          setState(916);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final CalcValueContext calcValue() throws RecognitionException {
    CalcValueContext _localctx = new CalcValueContext(_ctx, getState());
    enterRule(_localctx, 126, RULE_calcValue);
    try {
      setState(935);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 87, _ctx)) {
        case 1:
          enterOuterAlt(_localctx, 1);
        {
          setState(917);
          number();
          setState(918);
          ws();
        }
        break;
        case 2:
          enterOuterAlt(_localctx, 2);
        {
          setState(920);
          dimension();
          setState(921);
          ws();
        }
        break;
        case 3:
          enterOuterAlt(_localctx, 3);
        {
          setState(923);
          unknownDimension();
          setState(924);
          ws();
        }
        break;
        case 4:
          enterOuterAlt(_localctx, 4);
        {
          setState(926);
          percentage();
          setState(927);
          ws();
        }
        break;
        case 5:
          enterOuterAlt(_localctx, 5);
        {
          setState(929);
          match(T__1);
          setState(930);
          ws();
          setState(931);
          calcSum();
          setState(932);
          match(T__3);
          setState(933);
          ws();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final FontFaceRuleContext fontFaceRule() throws RecognitionException {
    FontFaceRuleContext _localctx = new FontFaceRuleContext(_ctx, getState());
    enterRule(_localctx, 128, RULE_fontFaceRule);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(937);
        match(FontFace);
        setState(938);
        ws();
        setState(939);
        match(T__4);
        setState(940);
        ws();
        setState(942);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << T__6) | (1L << T__13) | (1L << MediaOnly) | (1L << Not)
                | (1L << And) | (1L << Or) | (1L << From) | (1L << To) | (1L << Variable)
                | (1L << Ident))) != 0)) {
          {
            setState(941);
            fontFaceDeclaration();
          }
        }

        setState(951);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == T__0) {
          {
            {
              setState(944);
              match(T__0);
              setState(945);
              ws();
              setState(947);
              _errHandler.sync(this);
              _la = _input.LA(1);
              if ((((_la) & ~0x3f) == 0 &&
                  ((1L << _la) & ((1L << T__6) | (1L << T__13) | (1L << MediaOnly) | (
                      1L << Not) | (1L << And) | (1L << Or) | (1L << From) | (1L
                      << To) | (1L << Variable) | (1L << Ident))) != 0)) {
                {
                  setState(946);
                  fontFaceDeclaration();
                }
              }

            }
          }
          setState(953);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(954);
        match(T__5);
        setState(955);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final FontFaceDeclarationContext fontFaceDeclaration() throws RecognitionException {
    FontFaceDeclarationContext _localctx = new FontFaceDeclarationContext(_ctx, getState());
    enterRule(_localctx, 130, RULE_fontFaceDeclaration);
    try {
      setState(967);
      _errHandler.sync(this);
      switch (getInterpreter().adaptivePredict(_input, 91, _ctx)) {
        case 1:
          _localctx = new KnownFontFaceDeclarationContext(_localctx);
          enterOuterAlt(_localctx, 1);
        {
          setState(957);
          property();
          setState(958);
          match(T__2);
          setState(959);
          ws();
          setState(960);
          expr();
        }
        break;
        case 2:
          _localctx = new UnknownFontFaceDeclarationContext(_localctx);
          enterOuterAlt(_localctx, 2);
        {
          setState(962);
          property();
          setState(963);
          match(T__2);
          setState(964);
          ws();
          setState(965);
          value();
        }
        break;
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final KeyframesRuleContext keyframesRule() throws RecognitionException {
    KeyframesRuleContext _localctx = new KeyframesRuleContext(_ctx, getState());
    enterRule(_localctx, 132, RULE_keyframesRule);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(969);
        match(Keyframes);
        setState(970);
        ws();
        setState(971);
        match(Space);
        setState(972);
        ws();
        setState(973);
        ident();
        setState(974);
        ws();
        setState(975);
        match(T__4);
        setState(976);
        ws();
        setState(977);
        keyframesBlocks();
        setState(978);
        match(T__5);
        setState(979);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final KeyframesBlocksContext keyframesBlocks() throws RecognitionException {
    KeyframesBlocksContext _localctx = new KeyframesBlocksContext(_ctx, getState());
    enterRule(_localctx, 134, RULE_keyframesBlocks);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(992);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while ((((_la) & ~0x3f) == 0
            && ((1L << _la) & ((1L << Percentage) | (1L << From) | (1L << To))) != 0)) {
          {
            {
              setState(981);
              keyframeSelector();
              setState(982);
              match(T__4);
              setState(983);
              ws();
              setState(985);
              _errHandler.sync(this);
              _la = _input.LA(1);
              if ((((_la) & ~0x3f) == 0 &&
                  ((1L << _la) & ((1L << T__0) | (1L << T__6) | (1L << T__13) | (1L
                      << MediaOnly) | (1L << Not) | (1L << And) | (1L << Or) | (1L
                      << From) | (1L << To) | (1L << Variable) | (1L << Ident)))
                      != 0)) {
                {
                  setState(984);
                  declarationList();
                }
              }

              setState(987);
              match(T__5);
              setState(988);
              ws();
            }
          }
          setState(994);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final KeyframeSelectorContext keyframeSelector() throws RecognitionException {
    KeyframeSelectorContext _localctx = new KeyframeSelectorContext(_ctx, getState());
    enterRule(_localctx, 136, RULE_keyframeSelector);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(995);
        _la = _input.LA(1);
        if (!((((_la) & ~0x3f) == 0
            && ((1L << _la) & ((1L << Percentage) | (1L << From) | (1L << To))) != 0))) {
          _errHandler.recoverInline(this);
        } else {
          if (_input.LA(1) == Token.EOF) {
            matchedEOF = true;
          }
          _errHandler.reportMatch(this);
          consume();
        }
        setState(996);
        ws();
        setState(1004);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == Comma) {
          {
            {
              setState(997);
              match(Comma);
              setState(998);
              ws();
              setState(999);
              _la = _input.LA(1);
              if (!((((_la) & ~0x3f) == 0
                  && ((1L << _la) & ((1L << Percentage) | (1L << From) | (1L << To)))
                  != 0))) {
                _errHandler.recoverInline(this);
              } else {
                if (_input.LA(1) == Token.EOF) {
                  matchedEOF = true;
                }
                _errHandler.reportMatch(this);
                consume();
              }
              setState(1000);
              ws();
            }
          }
          setState(1006);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final ViewportContext viewport() throws RecognitionException {
    ViewportContext _localctx = new ViewportContext(_ctx, getState());
    enterRule(_localctx, 138, RULE_viewport);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(1007);
        match(Viewport);
        setState(1008);
        ws();
        setState(1009);
        match(T__4);
        setState(1010);
        ws();
        setState(1012);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << T__0) | (1L << T__6) | (1L << T__13) | (1L << MediaOnly)
                | (1L << Not) | (1L << And) | (1L << Or) | (1L << From) | (1L << To) | (1L
                << Variable) | (1L << Ident))) != 0)) {
          {
            setState(1011);
            declarationList();
          }
        }

        setState(1014);
        match(T__5);
        setState(1015);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final CounterStyleContext counterStyle() throws RecognitionException {
    CounterStyleContext _localctx = new CounterStyleContext(_ctx, getState());
    enterRule(_localctx, 140, RULE_counterStyle);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(1017);
        match(CounterStyle);
        setState(1018);
        ws();
        setState(1019);
        ident();
        setState(1020);
        ws();
        setState(1021);
        match(T__4);
        setState(1022);
        ws();
        setState(1024);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << T__0) | (1L << T__6) | (1L << T__13) | (1L << MediaOnly)
                | (1L << Not) | (1L << And) | (1L << Or) | (1L << From) | (1L << To) | (1L
                << Variable) | (1L << Ident))) != 0)) {
          {
            setState(1023);
            declarationList();
          }
        }

        setState(1026);
        match(T__5);
        setState(1027);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final FontFeatureValuesRuleContext fontFeatureValuesRule() throws RecognitionException {
    FontFeatureValuesRuleContext _localctx = new FontFeatureValuesRuleContext(_ctx, getState());
    enterRule(_localctx, 142, RULE_fontFeatureValuesRule);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(1029);
        match(FontFeatureValues);
        setState(1030);
        ws();
        setState(1031);
        fontFamilyNameList();
        setState(1032);
        ws();
        setState(1033);
        match(T__4);
        setState(1034);
        ws();
        setState(1038);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while (_la == T__14) {
          {
            {
              setState(1035);
              featureValueBlock();
            }
          }
          setState(1040);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(1041);
        match(T__5);
        setState(1042);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final FontFamilyNameListContext fontFamilyNameList() throws RecognitionException {
    FontFamilyNameListContext _localctx = new FontFamilyNameListContext(_ctx, getState());
    enterRule(_localctx, 144, RULE_fontFamilyNameList);
    try {
      int _alt;
      enterOuterAlt(_localctx, 1);
      {
        setState(1044);
        fontFamilyName();
        setState(1052);
        _errHandler.sync(this);
        _alt = getInterpreter().adaptivePredict(_input, 98, _ctx);
        while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER) {
          if (_alt == 1) {
            {
              {
                setState(1045);
                ws();
                setState(1046);
                match(Comma);
                setState(1047);
                ws();
                setState(1048);
                fontFamilyName();
              }
            }
          }
          setState(1054);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 98, _ctx);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final FontFamilyNameContext fontFamilyName() throws RecognitionException {
    FontFamilyNameContext _localctx = new FontFamilyNameContext(_ctx, getState());
    enterRule(_localctx, 146, RULE_fontFamilyName);
    try {
      int _alt;
      setState(1065);
      _errHandler.sync(this);
      switch (_input.LA(1)) {
        case String:
          enterOuterAlt(_localctx, 1);
        {
          setState(1055);
          match(String);
        }
        break;
        case MediaOnly:
        case Not:
        case And:
        case Or:
        case From:
        case To:
        case Ident:
          enterOuterAlt(_localctx, 2);
        {
          setState(1056);
          ident();
          setState(1062);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 99, _ctx);
          while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER) {
            if (_alt == 1) {
              {
                {
                  setState(1057);
                  ws();
                  setState(1058);
                  ident();
                }
              }
            }
            setState(1064);
            _errHandler.sync(this);
            _alt = getInterpreter().adaptivePredict(_input, 99, _ctx);
          }
        }
        break;
        default:
          throw new NoViableAltException(this);
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final FeatureValueBlockContext featureValueBlock() throws RecognitionException {
    FeatureValueBlockContext _localctx = new FeatureValueBlockContext(_ctx, getState());
    enterRule(_localctx, 148, RULE_featureValueBlock);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(1067);
        featureType();
        setState(1068);
        ws();
        setState(1069);
        match(T__4);
        setState(1070);
        ws();
        setState(1072);
        _errHandler.sync(this);
        _la = _input.LA(1);
        if ((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << MediaOnly) | (1L << Not) | (1L << And) | (1L << Or) | (1L
                << From) | (1L << To) | (1L << Ident))) != 0)) {
          {
            setState(1071);
            featureValueDefinition();
          }
        }

        setState(1082);
        _errHandler.sync(this);
        _la = _input.LA(1);
        while ((((_la) & ~0x3f) == 0
            && ((1L << _la) & ((1L << T__0) | (1L << Comment) | (1L << Space))) != 0)) {
          {
            {
              setState(1074);
              ws();
              setState(1075);
              match(T__0);
              setState(1076);
              ws();
              setState(1078);
              _errHandler.sync(this);
              _la = _input.LA(1);
              if ((((_la) & ~0x3f) == 0 &&
                  ((1L << _la) & ((1L << MediaOnly) | (1L << Not) | (1L << And) | (1L
                      << Or) | (1L << From) | (1L << To) | (1L << Ident))) != 0)) {
                {
                  setState(1077);
                  featureValueDefinition();
                }
              }

            }
          }
          setState(1084);
          _errHandler.sync(this);
          _la = _input.LA(1);
        }
        setState(1085);
        match(T__5);
        setState(1086);
        ws();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final FeatureTypeContext featureType() throws RecognitionException {
    FeatureTypeContext _localctx = new FeatureTypeContext(_ctx, getState());
    enterRule(_localctx, 150, RULE_featureType);
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(1088);
        atKeyword();
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final FeatureValueDefinitionContext featureValueDefinition()
      throws RecognitionException {
    FeatureValueDefinitionContext _localctx = new FeatureValueDefinitionContext(_ctx,
        getState());
    enterRule(_localctx, 152, RULE_featureValueDefinition);
    try {
      int _alt;
      enterOuterAlt(_localctx, 1);
      {
        setState(1090);
        ident();
        setState(1091);
        ws();
        setState(1092);
        match(T__2);
        setState(1093);
        ws();
        setState(1094);
        number();
        setState(1100);
        _errHandler.sync(this);
        _alt = getInterpreter().adaptivePredict(_input, 104, _ctx);
        while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER) {
          if (_alt == 1) {
            {
              {
                setState(1095);
                ws();
                setState(1096);
                number();
              }
            }
          }
          setState(1102);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 104, _ctx);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final IdentContext ident() throws RecognitionException {
    IdentContext _localctx = new IdentContext(_ctx, getState());
    enterRule(_localctx, 154, RULE_ident);
    int _la;
    try {
      enterOuterAlt(_localctx, 1);
      {
        setState(1103);
        _la = _input.LA(1);
        if (!((((_la) & ~0x3f) == 0 &&
            ((1L << _la) & ((1L << MediaOnly) | (1L << Not) | (1L << And) | (1L << Or) | (1L
                << From) | (1L << To) | (1L << Ident))) != 0))) {
          _errHandler.recoverInline(this);
        } else {
          if (_input.LA(1) == Token.EOF) {
            matchedEOF = true;
          }
          _errHandler.reportMatch(this);
          consume();
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public final WsContext ws() throws RecognitionException {
    WsContext _localctx = new WsContext(_ctx, getState());
    enterRule(_localctx, 156, RULE_ws);
    int _la;
    try {
      int _alt;
      enterOuterAlt(_localctx, 1);
      {
        setState(1108);
        _errHandler.sync(this);
        _alt = getInterpreter().adaptivePredict(_input, 105, _ctx);
        while (_alt != 2 && _alt != org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER) {
          if (_alt == 1) {
            {
              {
                setState(1105);
                _la = _input.LA(1);
                if (!(_la == Comment || _la == Space)) {
                  _errHandler.recoverInline(this);
                } else {
                  if (_input.LA(1) == Token.EOF) {
                    matchedEOF = true;
                  }
                  _errHandler.reportMatch(this);
                  consume();
                }
              }
            }
          }
          setState(1110);
          _errHandler.sync(this);
          _alt = getInterpreter().adaptivePredict(_input, 105, _ctx);
        }
      }
    } catch (RecognitionException re) {
      _localctx.exception = re;
      _errHandler.reportError(this, re);
      _errHandler.recover(this, re);
    } finally {
      exitRule();
    }
    return _localctx;
  }

  public static class StylesheetContext extends ParserRuleContext {

    public StylesheetContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public List<CharsetContext> charset() {
      return getRuleContexts(CharsetContext.class);
    }

    public CharsetContext charset(int i) {
      return getRuleContext(CharsetContext.class, i);
    }

    public List<ImportsContext> imports() {
      return getRuleContexts(ImportsContext.class);
    }

    public ImportsContext imports(int i) {
      return getRuleContext(ImportsContext.class, i);
    }

    public List<NamespaceContext> namespace() {
      return getRuleContexts(NamespaceContext.class);
    }

    public NamespaceContext namespace(int i) {
      return getRuleContext(NamespaceContext.class, i);
    }

    public List<NestedStatementContext> nestedStatement() {
      return getRuleContexts(NestedStatementContext.class);
    }

    public NestedStatementContext nestedStatement(int i) {
      return getRuleContext(NestedStatementContext.class, i);
    }

    public List<TerminalNode> Comment() {
      return getTokens(CSS3Parser.Comment);
    }

    public TerminalNode Comment(int i) {
      return getToken(CSS3Parser.Comment, i);
    }

    public List<TerminalNode> Space() {
      return getTokens(CSS3Parser.Space);
    }

    public TerminalNode Space(int i) {
      return getToken(CSS3Parser.Space, i);
    }

    public List<TerminalNode> Cdo() {
      return getTokens(CSS3Parser.Cdo);
    }

    public TerminalNode Cdo(int i) {
      return getToken(CSS3Parser.Cdo, i);
    }

    public List<TerminalNode> Cdc() {
      return getTokens(CSS3Parser.Cdc);
    }

    public TerminalNode Cdc(int i) {
      return getToken(CSS3Parser.Cdc, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_stylesheet;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterStylesheet(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitStylesheet(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitStylesheet(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class CharsetContext extends ParserRuleContext {

    public CharsetContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public CharsetContext() {
    }

    @Override
    public int getRuleIndex() {
      return RULE_charset;
    }

    public void copyFrom(CharsetContext ctx) {
      super.copyFrom(ctx);
    }
  }

  public static class BadCharsetContext extends CharsetContext {

    public BadCharsetContext(CharsetContext ctx) {
      copyFrom(ctx);
    }

    public TerminalNode Charset() {
      return getToken(CSS3Parser.Charset, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public TerminalNode String() {
      return getToken(CSS3Parser.String, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterBadCharset(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitBadCharset(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitBadCharset(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class GoodCharsetContext extends CharsetContext {

    public GoodCharsetContext(CharsetContext ctx) {
      copyFrom(ctx);
    }

    public TerminalNode Charset() {
      return getToken(CSS3Parser.Charset, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public TerminalNode String() {
      return getToken(CSS3Parser.String, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterGoodCharset(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitGoodCharset(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitGoodCharset(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class ImportsContext extends ParserRuleContext {

    public ImportsContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public ImportsContext() {
    }

    @Override
    public int getRuleIndex() {
      return RULE_imports;
    }

    public void copyFrom(ImportsContext ctx) {
      super.copyFrom(ctx);
    }
  }

  public static class BadImportContext extends ImportsContext {

    public BadImportContext(ImportsContext ctx) {
      copyFrom(ctx);
    }

    public TerminalNode Import() {
      return getToken(CSS3Parser.Import, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public MediaQueryListContext mediaQueryList() {
      return getRuleContext(MediaQueryListContext.class, 0);
    }

    public TerminalNode String() {
      return getToken(CSS3Parser.String, 0);
    }

    public TerminalNode Uri() {
      return getToken(CSS3Parser.Uri, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterBadImport(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitBadImport(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitBadImport(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class GoodImportContext extends ImportsContext {

    public GoodImportContext(ImportsContext ctx) {
      copyFrom(ctx);
    }

    public TerminalNode Import() {
      return getToken(CSS3Parser.Import, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public MediaQueryListContext mediaQueryList() {
      return getRuleContext(MediaQueryListContext.class, 0);
    }

    public TerminalNode String() {
      return getToken(CSS3Parser.String, 0);
    }

    public TerminalNode Uri() {
      return getToken(CSS3Parser.Uri, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterGoodImport(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitGoodImport(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitGoodImport(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class NamespaceContext extends ParserRuleContext {

    public NamespaceContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public NamespaceContext() {
    }

    @Override
    public int getRuleIndex() {
      return RULE_namespace;
    }

    public void copyFrom(NamespaceContext ctx) {
      super.copyFrom(ctx);
    }
  }

  public static class GoodNamespaceContext extends NamespaceContext {

    public GoodNamespaceContext(NamespaceContext ctx) {
      copyFrom(ctx);
    }

    public TerminalNode Namespace() {
      return getToken(CSS3Parser.Namespace, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public TerminalNode String() {
      return getToken(CSS3Parser.String, 0);
    }

    public TerminalNode Uri() {
      return getToken(CSS3Parser.Uri, 0);
    }

    public NamespacePrefixContext namespacePrefix() {
      return getRuleContext(NamespacePrefixContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterGoodNamespace(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitGoodNamespace(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitGoodNamespace(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class BadNamespaceContext extends NamespaceContext {

    public BadNamespaceContext(NamespaceContext ctx) {
      copyFrom(ctx);
    }

    public TerminalNode Namespace() {
      return getToken(CSS3Parser.Namespace, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public TerminalNode String() {
      return getToken(CSS3Parser.String, 0);
    }

    public TerminalNode Uri() {
      return getToken(CSS3Parser.Uri, 0);
    }

    public NamespacePrefixContext namespacePrefix() {
      return getRuleContext(NamespacePrefixContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterBadNamespace(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitBadNamespace(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitBadNamespace(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class NamespacePrefixContext extends ParserRuleContext {

    public NamespacePrefixContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_namespacePrefix;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterNamespacePrefix(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitNamespacePrefix(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitNamespacePrefix(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class MediaContext extends ParserRuleContext {

    public MediaContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Media() {
      return getToken(CSS3Parser.Media, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public MediaQueryListContext mediaQueryList() {
      return getRuleContext(MediaQueryListContext.class, 0);
    }

    public GroupRuleBodyContext groupRuleBody() {
      return getRuleContext(GroupRuleBodyContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_media;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterMedia(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitMedia(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitMedia(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class MediaQueryListContext extends ParserRuleContext {

    public MediaQueryListContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<MediaQueryContext> mediaQuery() {
      return getRuleContexts(MediaQueryContext.class);
    }

    public MediaQueryContext mediaQuery(int i) {
      return getRuleContext(MediaQueryContext.class, i);
    }

    public List<TerminalNode> Comma() {
      return getTokens(CSS3Parser.Comma);
    }

    public TerminalNode Comma(int i) {
      return getToken(CSS3Parser.Comma, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_mediaQueryList;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterMediaQueryList(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitMediaQueryList(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitMediaQueryList(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class MediaQueryContext extends ParserRuleContext {

    public MediaQueryContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public MediaTypeContext mediaType() {
      return getRuleContext(MediaTypeContext.class, 0);
    }

    public List<TerminalNode> And() {
      return getTokens(CSS3Parser.And);
    }

    public TerminalNode And(int i) {
      return getToken(CSS3Parser.And, i);
    }

    public List<MediaExpressionContext> mediaExpression() {
      return getRuleContexts(MediaExpressionContext.class);
    }

    public MediaExpressionContext mediaExpression(int i) {
      return getRuleContext(MediaExpressionContext.class, i);
    }

    public TerminalNode MediaOnly() {
      return getToken(CSS3Parser.MediaOnly, 0);
    }

    public TerminalNode Not() {
      return getToken(CSS3Parser.Not, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_mediaQuery;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterMediaQuery(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitMediaQuery(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitMediaQuery(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class MediaTypeContext extends ParserRuleContext {

    public MediaTypeContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_mediaType;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterMediaType(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitMediaType(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitMediaType(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class MediaExpressionContext extends ParserRuleContext {

    public MediaExpressionContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public MediaFeatureContext mediaFeature() {
      return getRuleContext(MediaFeatureContext.class, 0);
    }

    public ExprContext expr() {
      return getRuleContext(ExprContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_mediaExpression;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterMediaExpression(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitMediaExpression(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitMediaExpression(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class MediaFeatureContext extends ParserRuleContext {

    public MediaFeatureContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_mediaFeature;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterMediaFeature(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitMediaFeature(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitMediaFeature(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class PageContext extends ParserRuleContext {

    public PageContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Page() {
      return getToken(CSS3Parser.Page, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public PseudoPageContext pseudoPage() {
      return getRuleContext(PseudoPageContext.class, 0);
    }

    public List<DeclarationContext> declaration() {
      return getRuleContexts(DeclarationContext.class);
    }

    public DeclarationContext declaration(int i) {
      return getRuleContext(DeclarationContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_page;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterPage(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitPage(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitPage(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class PseudoPageContext extends ParserRuleContext {

    public PseudoPageContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_pseudoPage;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterPseudoPage(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitPseudoPage(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitPseudoPage(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class SelectorGroupContext extends ParserRuleContext {

    public SelectorGroupContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<SelectorContext> selector() {
      return getRuleContexts(SelectorContext.class);
    }

    public SelectorContext selector(int i) {
      return getRuleContext(SelectorContext.class, i);
    }

    public List<TerminalNode> Comma() {
      return getTokens(CSS3Parser.Comma);
    }

    public TerminalNode Comma(int i) {
      return getToken(CSS3Parser.Comma, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_selectorGroup;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterSelectorGroup(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitSelectorGroup(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitSelectorGroup(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class SelectorContext extends ParserRuleContext {

    public SelectorContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<SimpleSelectorSequenceContext> simpleSelectorSequence() {
      return getRuleContexts(SimpleSelectorSequenceContext.class);
    }

    public SimpleSelectorSequenceContext simpleSelectorSequence(int i) {
      return getRuleContext(SimpleSelectorSequenceContext.class, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<CombinatorContext> combinator() {
      return getRuleContexts(CombinatorContext.class);
    }

    public CombinatorContext combinator(int i) {
      return getRuleContext(CombinatorContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_selector;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterSelector(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitSelector(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitSelector(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class CombinatorContext extends ParserRuleContext {

    public CombinatorContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Plus() {
      return getToken(CSS3Parser.Plus, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public TerminalNode Greater() {
      return getToken(CSS3Parser.Greater, 0);
    }

    public TerminalNode Tilde() {
      return getToken(CSS3Parser.Tilde, 0);
    }

    public TerminalNode Space() {
      return getToken(CSS3Parser.Space, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_combinator;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterCombinator(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitCombinator(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitCombinator(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class SimpleSelectorSequenceContext extends ParserRuleContext {

    public SimpleSelectorSequenceContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TypeSelectorContext typeSelector() {
      return getRuleContext(TypeSelectorContext.class, 0);
    }

    public UniversalContext universal() {
      return getRuleContext(UniversalContext.class, 0);
    }

    public List<TerminalNode> Hash() {
      return getTokens(CSS3Parser.Hash);
    }

    public TerminalNode Hash(int i) {
      return getToken(CSS3Parser.Hash, i);
    }

    public List<ClassNameContext> className() {
      return getRuleContexts(ClassNameContext.class);
    }

    public ClassNameContext className(int i) {
      return getRuleContext(ClassNameContext.class, i);
    }

    public List<AttribContext> attrib() {
      return getRuleContexts(AttribContext.class);
    }

    public AttribContext attrib(int i) {
      return getRuleContext(AttribContext.class, i);
    }

    public List<PseudoContext> pseudo() {
      return getRuleContexts(PseudoContext.class);
    }

    public PseudoContext pseudo(int i) {
      return getRuleContext(PseudoContext.class, i);
    }

    public List<NegationContext> negation() {
      return getRuleContexts(NegationContext.class);
    }

    public NegationContext negation(int i) {
      return getRuleContext(NegationContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_simpleSelectorSequence;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterSimpleSelectorSequence(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitSimpleSelectorSequence(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitSimpleSelectorSequence(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class TypeSelectorContext extends ParserRuleContext {

    public TypeSelectorContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public ElementNameContext elementName() {
      return getRuleContext(ElementNameContext.class, 0);
    }

    public TypeNamespacePrefixContext typeNamespacePrefix() {
      return getRuleContext(TypeNamespacePrefixContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_typeSelector;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterTypeSelector(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitTypeSelector(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitTypeSelector(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class TypeNamespacePrefixContext extends ParserRuleContext {

    public TypeNamespacePrefixContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_typeNamespacePrefix;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterTypeNamespacePrefix(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitTypeNamespacePrefix(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitTypeNamespacePrefix(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class ElementNameContext extends ParserRuleContext {

    public ElementNameContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_elementName;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterElementName(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitElementName(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitElementName(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class UniversalContext extends ParserRuleContext {

    public UniversalContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TypeNamespacePrefixContext typeNamespacePrefix() {
      return getRuleContext(TypeNamespacePrefixContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_universal;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterUniversal(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitUniversal(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitUniversal(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class ClassNameContext extends ParserRuleContext {

    public ClassNameContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_className;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterClassName(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitClassName(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitClassName(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class AttribContext extends ParserRuleContext {

    public AttribContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<IdentContext> ident() {
      return getRuleContexts(IdentContext.class);
    }

    public IdentContext ident(int i) {
      return getRuleContext(IdentContext.class, i);
    }

    public TypeNamespacePrefixContext typeNamespacePrefix() {
      return getRuleContext(TypeNamespacePrefixContext.class, 0);
    }

    public TerminalNode PrefixMatch() {
      return getToken(CSS3Parser.PrefixMatch, 0);
    }

    public TerminalNode SuffixMatch() {
      return getToken(CSS3Parser.SuffixMatch, 0);
    }

    public TerminalNode SubstringMatch() {
      return getToken(CSS3Parser.SubstringMatch, 0);
    }

    public TerminalNode Includes() {
      return getToken(CSS3Parser.Includes, 0);
    }

    public TerminalNode DashMatch() {
      return getToken(CSS3Parser.DashMatch, 0);
    }

    public TerminalNode String() {
      return getToken(CSS3Parser.String, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_attrib;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterAttrib(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitAttrib(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitAttrib(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class PseudoContext extends ParserRuleContext {

    public PseudoContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    public FunctionalPseudoContext functionalPseudo() {
      return getRuleContext(FunctionalPseudoContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_pseudo;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterPseudo(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitPseudo(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitPseudo(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class FunctionalPseudoContext extends ParserRuleContext {

    public FunctionalPseudoContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Function() {
      return getToken(CSS3Parser.Function, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public ExpressionContext expression() {
      return getRuleContext(ExpressionContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_functionalPseudo;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterFunctionalPseudo(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitFunctionalPseudo(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitFunctionalPseudo(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class ExpressionContext extends ParserRuleContext {

    public ExpressionContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<TerminalNode> Plus() {
      return getTokens(CSS3Parser.Plus);
    }

    public TerminalNode Plus(int i) {
      return getToken(CSS3Parser.Plus, i);
    }

    public List<TerminalNode> Minus() {
      return getTokens(CSS3Parser.Minus);
    }

    public TerminalNode Minus(int i) {
      return getToken(CSS3Parser.Minus, i);
    }

    public List<TerminalNode> Dimension() {
      return getTokens(CSS3Parser.Dimension);
    }

    public TerminalNode Dimension(int i) {
      return getToken(CSS3Parser.Dimension, i);
    }

    public List<TerminalNode> UnknownDimension() {
      return getTokens(CSS3Parser.UnknownDimension);
    }

    public TerminalNode UnknownDimension(int i) {
      return getToken(CSS3Parser.UnknownDimension, i);
    }

    public List<TerminalNode> Number() {
      return getTokens(CSS3Parser.Number);
    }

    public TerminalNode Number(int i) {
      return getToken(CSS3Parser.Number, i);
    }

    public List<TerminalNode> String() {
      return getTokens(CSS3Parser.String);
    }

    public TerminalNode String(int i) {
      return getToken(CSS3Parser.String, i);
    }

    public List<IdentContext> ident() {
      return getRuleContexts(IdentContext.class);
    }

    public IdentContext ident(int i) {
      return getRuleContext(IdentContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_expression;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterExpression(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitExpression(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitExpression(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class NegationContext extends ParserRuleContext {

    public NegationContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode PseudoNot() {
      return getToken(CSS3Parser.PseudoNot, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public NegationArgContext negationArg() {
      return getRuleContext(NegationArgContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_negation;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterNegation(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitNegation(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitNegation(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class NegationArgContext extends ParserRuleContext {

    public NegationArgContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TypeSelectorContext typeSelector() {
      return getRuleContext(TypeSelectorContext.class, 0);
    }

    public UniversalContext universal() {
      return getRuleContext(UniversalContext.class, 0);
    }

    public TerminalNode Hash() {
      return getToken(CSS3Parser.Hash, 0);
    }

    public ClassNameContext className() {
      return getRuleContext(ClassNameContext.class, 0);
    }

    public AttribContext attrib() {
      return getRuleContext(AttribContext.class, 0);
    }

    public PseudoContext pseudo() {
      return getRuleContext(PseudoContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_negationArg;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterNegationArg(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitNegationArg(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitNegationArg(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class OperatorContext extends ParserRuleContext {

    public OperatorContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public OperatorContext() {
    }

    @Override
    public int getRuleIndex() {
      return RULE_operator;
    }

    public void copyFrom(OperatorContext ctx) {
      super.copyFrom(ctx);
    }
  }

  public static class BadOperatorContext extends OperatorContext {

    public BadOperatorContext(OperatorContext ctx) {
      copyFrom(ctx);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterBadOperator(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitBadOperator(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitBadOperator(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class GoodOperatorContext extends OperatorContext {

    public GoodOperatorContext(OperatorContext ctx) {
      copyFrom(ctx);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public TerminalNode Comma() {
      return getToken(CSS3Parser.Comma, 0);
    }

    public TerminalNode Space() {
      return getToken(CSS3Parser.Space, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterGoodOperator(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitGoodOperator(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitGoodOperator(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class PropertyContext extends ParserRuleContext {

    public PropertyContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public PropertyContext() {
    }

    @Override
    public int getRuleIndex() {
      return RULE_property;
    }

    public void copyFrom(PropertyContext ctx) {
      super.copyFrom(ctx);
    }
  }

  public static class BadPropertyContext extends PropertyContext {

    public BadPropertyContext(PropertyContext ctx) {
      copyFrom(ctx);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterBadProperty(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitBadProperty(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitBadProperty(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class GoodPropertyContext extends PropertyContext {

    public GoodPropertyContext(PropertyContext ctx) {
      copyFrom(ctx);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public TerminalNode Variable() {
      return getToken(CSS3Parser.Variable, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterGoodProperty(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitGoodProperty(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitGoodProperty(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class RulesetContext extends ParserRuleContext {

    public RulesetContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public RulesetContext() {
    }

    @Override
    public int getRuleIndex() {
      return RULE_ruleset;
    }

    public void copyFrom(RulesetContext ctx) {
      super.copyFrom(ctx);
    }
  }

  public static class UnknownRulesetContext extends RulesetContext {

    public UnknownRulesetContext(RulesetContext ctx) {
      copyFrom(ctx);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<AnyContext> any() {
      return getRuleContexts(AnyContext.class);
    }

    public AnyContext any(int i) {
      return getRuleContext(AnyContext.class, i);
    }

    public DeclarationListContext declarationList() {
      return getRuleContext(DeclarationListContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterUnknownRuleset(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitUnknownRuleset(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitUnknownRuleset(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class KnownRulesetContext extends RulesetContext {

    public KnownRulesetContext(RulesetContext ctx) {
      copyFrom(ctx);
    }

    public SelectorGroupContext selectorGroup() {
      return getRuleContext(SelectorGroupContext.class, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public DeclarationListContext declarationList() {
      return getRuleContext(DeclarationListContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterKnownRuleset(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitKnownRuleset(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitKnownRuleset(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class DeclarationListContext extends ParserRuleContext {

    public DeclarationListContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<DeclarationContext> declaration() {
      return getRuleContexts(DeclarationContext.class);
    }

    public DeclarationContext declaration(int i) {
      return getRuleContext(DeclarationContext.class, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_declarationList;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterDeclarationList(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitDeclarationList(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitDeclarationList(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class DeclarationContext extends ParserRuleContext {

    public DeclarationContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public DeclarationContext() {
    }

    @Override
    public int getRuleIndex() {
      return RULE_declaration;
    }

    public void copyFrom(DeclarationContext ctx) {
      super.copyFrom(ctx);
    }
  }

  public static class UnknownDeclarationContext extends DeclarationContext {

    public UnknownDeclarationContext(DeclarationContext ctx) {
      copyFrom(ctx);
    }

    public PropertyContext property() {
      return getRuleContext(PropertyContext.class, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public ValueContext value() {
      return getRuleContext(ValueContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterUnknownDeclaration(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitUnknownDeclaration(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitUnknownDeclaration(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class KnownDeclarationContext extends DeclarationContext {

    public KnownDeclarationContext(DeclarationContext ctx) {
      copyFrom(ctx);
    }

    public PropertyContext property() {
      return getRuleContext(PropertyContext.class, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public ExprContext expr() {
      return getRuleContext(ExprContext.class, 0);
    }

    public PrioContext prio() {
      return getRuleContext(PrioContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterKnownDeclaration(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitKnownDeclaration(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitKnownDeclaration(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class PrioContext extends ParserRuleContext {

    public PrioContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Important() {
      return getToken(CSS3Parser.Important, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_prio;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterPrio(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitPrio(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitPrio(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class ValueContext extends ParserRuleContext {

    public ValueContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<AnyContext> any() {
      return getRuleContexts(AnyContext.class);
    }

    public AnyContext any(int i) {
      return getRuleContext(AnyContext.class, i);
    }

    public List<BlockContext> block() {
      return getRuleContexts(BlockContext.class);
    }

    public BlockContext block(int i) {
      return getRuleContext(BlockContext.class, i);
    }

    public List<AtKeywordContext> atKeyword() {
      return getRuleContexts(AtKeywordContext.class);
    }

    public AtKeywordContext atKeyword(int i) {
      return getRuleContext(AtKeywordContext.class, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_value;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterValue(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitValue(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitValue(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class ExprContext extends ParserRuleContext {

    public ExprContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<TermContext> term() {
      return getRuleContexts(TermContext.class);
    }

    public TermContext term(int i) {
      return getRuleContext(TermContext.class, i);
    }

    public List<OperatorContext> operator() {
      return getRuleContexts(OperatorContext.class);
    }

    public OperatorContext operator(int i) {
      return getRuleContext(OperatorContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_expr;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterExpr(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitExpr(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitExpr(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class TermContext extends ParserRuleContext {

    public TermContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TermContext() {
    }

    @Override
    public int getRuleIndex() {
      return RULE_term;
    }

    public void copyFrom(TermContext ctx) {
      super.copyFrom(ctx);
    }
  }

  public static class BadTermContext extends TermContext {

    public BadTermContext(TermContext ctx) {
      copyFrom(ctx);
    }

    public DxImageTransformContext dxImageTransform() {
      return getRuleContext(DxImageTransformContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterBadTerm(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitBadTerm(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitBadTerm(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class KnownTermContext extends TermContext {

    public KnownTermContext(TermContext ctx) {
      copyFrom(ctx);
    }

    public NumberContext number() {
      return getRuleContext(NumberContext.class, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public PercentageContext percentage() {
      return getRuleContext(PercentageContext.class, 0);
    }

    public DimensionContext dimension() {
      return getRuleContext(DimensionContext.class, 0);
    }

    public TerminalNode String() {
      return getToken(CSS3Parser.String, 0);
    }

    public TerminalNode UnicodeRange() {
      return getToken(CSS3Parser.UnicodeRange, 0);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    public VarContext var() {
      return getRuleContext(VarContext.class, 0);
    }

    public TerminalNode Uri() {
      return getToken(CSS3Parser.Uri, 0);
    }

    public HexcolorContext hexcolor() {
      return getRuleContext(HexcolorContext.class, 0);
    }

    public CalcContext calc() {
      return getRuleContext(CalcContext.class, 0);
    }

    public FunctionContext function() {
      return getRuleContext(FunctionContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterKnownTerm(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitKnownTerm(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitKnownTerm(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class UnknownTermContext extends TermContext {

    public UnknownTermContext(TermContext ctx) {
      copyFrom(ctx);
    }

    public UnknownDimensionContext unknownDimension() {
      return getRuleContext(UnknownDimensionContext.class, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterUnknownTerm(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitUnknownTerm(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitUnknownTerm(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class FunctionContext extends ParserRuleContext {

    public FunctionContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Function() {
      return getToken(CSS3Parser.Function, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public ExprContext expr() {
      return getRuleContext(ExprContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_function;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterFunction(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitFunction(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitFunction(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class DxImageTransformContext extends ParserRuleContext {

    public DxImageTransformContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode DxImageTransform() {
      return getToken(CSS3Parser.DxImageTransform, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public ExprContext expr() {
      return getRuleContext(ExprContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_dxImageTransform;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterDxImageTransform(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitDxImageTransform(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitDxImageTransform(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class HexcolorContext extends ParserRuleContext {

    public HexcolorContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Hash() {
      return getToken(CSS3Parser.Hash, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_hexcolor;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterHexcolor(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitHexcolor(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitHexcolor(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class NumberContext extends ParserRuleContext {

    public NumberContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Number() {
      return getToken(CSS3Parser.Number, 0);
    }

    public TerminalNode Plus() {
      return getToken(CSS3Parser.Plus, 0);
    }

    public TerminalNode Minus() {
      return getToken(CSS3Parser.Minus, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_number;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterNumber(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitNumber(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitNumber(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class PercentageContext extends ParserRuleContext {

    public PercentageContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Percentage() {
      return getToken(CSS3Parser.Percentage, 0);
    }

    public TerminalNode Plus() {
      return getToken(CSS3Parser.Plus, 0);
    }

    public TerminalNode Minus() {
      return getToken(CSS3Parser.Minus, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_percentage;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterPercentage(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitPercentage(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitPercentage(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class DimensionContext extends ParserRuleContext {

    public DimensionContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Dimension() {
      return getToken(CSS3Parser.Dimension, 0);
    }

    public TerminalNode Plus() {
      return getToken(CSS3Parser.Plus, 0);
    }

    public TerminalNode Minus() {
      return getToken(CSS3Parser.Minus, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_dimension;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterDimension(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitDimension(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitDimension(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class UnknownDimensionContext extends ParserRuleContext {

    public UnknownDimensionContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode UnknownDimension() {
      return getToken(CSS3Parser.UnknownDimension, 0);
    }

    public TerminalNode Plus() {
      return getToken(CSS3Parser.Plus, 0);
    }

    public TerminalNode Minus() {
      return getToken(CSS3Parser.Minus, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_unknownDimension;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterUnknownDimension(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitUnknownDimension(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitUnknownDimension(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class AnyContext extends ParserRuleContext {

    public AnyContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public NumberContext number() {
      return getRuleContext(NumberContext.class, 0);
    }

    public PercentageContext percentage() {
      return getRuleContext(PercentageContext.class, 0);
    }

    public DimensionContext dimension() {
      return getRuleContext(DimensionContext.class, 0);
    }

    public UnknownDimensionContext unknownDimension() {
      return getRuleContext(UnknownDimensionContext.class, 0);
    }

    public TerminalNode String() {
      return getToken(CSS3Parser.String, 0);
    }

    public TerminalNode Uri() {
      return getToken(CSS3Parser.Uri, 0);
    }

    public TerminalNode Hash() {
      return getToken(CSS3Parser.Hash, 0);
    }

    public TerminalNode UnicodeRange() {
      return getToken(CSS3Parser.UnicodeRange, 0);
    }

    public TerminalNode Includes() {
      return getToken(CSS3Parser.Includes, 0);
    }

    public TerminalNode DashMatch() {
      return getToken(CSS3Parser.DashMatch, 0);
    }

    public TerminalNode Function() {
      return getToken(CSS3Parser.Function, 0);
    }

    public List<AnyContext> any() {
      return getRuleContexts(AnyContext.class);
    }

    public AnyContext any(int i) {
      return getRuleContext(AnyContext.class, i);
    }

    public List<UnusedContext> unused() {
      return getRuleContexts(UnusedContext.class);
    }

    public UnusedContext unused(int i) {
      return getRuleContext(UnusedContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_any;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterAny(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitAny(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitAny(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class AtRuleContext extends ParserRuleContext {

    public AtRuleContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public AtRuleContext() {
    }

    @Override
    public int getRuleIndex() {
      return RULE_atRule;
    }

    public void copyFrom(AtRuleContext ctx) {
      super.copyFrom(ctx);
    }
  }

  public static class UnknownAtRuleContext extends AtRuleContext {

    public UnknownAtRuleContext(AtRuleContext ctx) {
      copyFrom(ctx);
    }

    public AtKeywordContext atKeyword() {
      return getRuleContext(AtKeywordContext.class, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public BlockContext block() {
      return getRuleContext(BlockContext.class, 0);
    }

    public List<AnyContext> any() {
      return getRuleContexts(AnyContext.class);
    }

    public AnyContext any(int i) {
      return getRuleContext(AnyContext.class, i);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterUnknownAtRule(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitUnknownAtRule(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitUnknownAtRule(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class AtKeywordContext extends ParserRuleContext {

    public AtKeywordContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_atKeyword;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterAtKeyword(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitAtKeyword(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitAtKeyword(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class UnusedContext extends ParserRuleContext {

    public UnusedContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public BlockContext block() {
      return getRuleContext(BlockContext.class, 0);
    }

    public AtKeywordContext atKeyword() {
      return getRuleContext(AtKeywordContext.class, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public TerminalNode Cdo() {
      return getToken(CSS3Parser.Cdo, 0);
    }

    public TerminalNode Cdc() {
      return getToken(CSS3Parser.Cdc, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_unused;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterUnused(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitUnused(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitUnused(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class BlockContext extends ParserRuleContext {

    public BlockContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<DeclarationListContext> declarationList() {
      return getRuleContexts(DeclarationListContext.class);
    }

    public DeclarationListContext declarationList(int i) {
      return getRuleContext(DeclarationListContext.class, i);
    }

    public List<NestedStatementContext> nestedStatement() {
      return getRuleContexts(NestedStatementContext.class);
    }

    public NestedStatementContext nestedStatement(int i) {
      return getRuleContext(NestedStatementContext.class, i);
    }

    public List<AnyContext> any() {
      return getRuleContexts(AnyContext.class);
    }

    public AnyContext any(int i) {
      return getRuleContext(AnyContext.class, i);
    }

    public List<BlockContext> block() {
      return getRuleContexts(BlockContext.class);
    }

    public BlockContext block(int i) {
      return getRuleContext(BlockContext.class, i);
    }

    public List<AtKeywordContext> atKeyword() {
      return getRuleContexts(AtKeywordContext.class);
    }

    public AtKeywordContext atKeyword(int i) {
      return getRuleContext(AtKeywordContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_block;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterBlock(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitBlock(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitBlock(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class NestedStatementContext extends ParserRuleContext {

    public NestedStatementContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public RulesetContext ruleset() {
      return getRuleContext(RulesetContext.class, 0);
    }

    public MediaContext media() {
      return getRuleContext(MediaContext.class, 0);
    }

    public PageContext page() {
      return getRuleContext(PageContext.class, 0);
    }

    public FontFaceRuleContext fontFaceRule() {
      return getRuleContext(FontFaceRuleContext.class, 0);
    }

    public KeyframesRuleContext keyframesRule() {
      return getRuleContext(KeyframesRuleContext.class, 0);
    }

    public SupportsRuleContext supportsRule() {
      return getRuleContext(SupportsRuleContext.class, 0);
    }

    public ViewportContext viewport() {
      return getRuleContext(ViewportContext.class, 0);
    }

    public CounterStyleContext counterStyle() {
      return getRuleContext(CounterStyleContext.class, 0);
    }

    public FontFeatureValuesRuleContext fontFeatureValuesRule() {
      return getRuleContext(FontFeatureValuesRuleContext.class, 0);
    }

    public AtRuleContext atRule() {
      return getRuleContext(AtRuleContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_nestedStatement;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterNestedStatement(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitNestedStatement(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitNestedStatement(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class GroupRuleBodyContext extends ParserRuleContext {

    public GroupRuleBodyContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<NestedStatementContext> nestedStatement() {
      return getRuleContexts(NestedStatementContext.class);
    }

    public NestedStatementContext nestedStatement(int i) {
      return getRuleContext(NestedStatementContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_groupRuleBody;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterGroupRuleBody(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitGroupRuleBody(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitGroupRuleBody(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class SupportsRuleContext extends ParserRuleContext {

    public SupportsRuleContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Supports() {
      return getToken(CSS3Parser.Supports, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public SupportsConditionContext supportsCondition() {
      return getRuleContext(SupportsConditionContext.class, 0);
    }

    public GroupRuleBodyContext groupRuleBody() {
      return getRuleContext(GroupRuleBodyContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_supportsRule;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterSupportsRule(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitSupportsRule(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitSupportsRule(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class SupportsConditionContext extends ParserRuleContext {

    public SupportsConditionContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public SupportsNegationContext supportsNegation() {
      return getRuleContext(SupportsNegationContext.class, 0);
    }

    public SupportsConjunctionContext supportsConjunction() {
      return getRuleContext(SupportsConjunctionContext.class, 0);
    }

    public SupportsDisjunctionContext supportsDisjunction() {
      return getRuleContext(SupportsDisjunctionContext.class, 0);
    }

    public SupportsConditionInParensContext supportsConditionInParens() {
      return getRuleContext(SupportsConditionInParensContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_supportsCondition;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterSupportsCondition(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitSupportsCondition(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitSupportsCondition(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class SupportsConditionInParensContext extends ParserRuleContext {

    public SupportsConditionInParensContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public SupportsConditionContext supportsCondition() {
      return getRuleContext(SupportsConditionContext.class, 0);
    }

    public SupportsDeclarationConditionContext supportsDeclarationCondition() {
      return getRuleContext(SupportsDeclarationConditionContext.class, 0);
    }

    public GeneralEnclosedContext generalEnclosed() {
      return getRuleContext(GeneralEnclosedContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_supportsConditionInParens;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterSupportsConditionInParens(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitSupportsConditionInParens(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitSupportsConditionInParens(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class SupportsNegationContext extends ParserRuleContext {

    public SupportsNegationContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Not() {
      return getToken(CSS3Parser.Not, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public TerminalNode Space() {
      return getToken(CSS3Parser.Space, 0);
    }

    public SupportsConditionInParensContext supportsConditionInParens() {
      return getRuleContext(SupportsConditionInParensContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_supportsNegation;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterSupportsNegation(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitSupportsNegation(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitSupportsNegation(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class SupportsConjunctionContext extends ParserRuleContext {

    public SupportsConjunctionContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<SupportsConditionInParensContext> supportsConditionInParens() {
      return getRuleContexts(SupportsConditionInParensContext.class);
    }

    public SupportsConditionInParensContext supportsConditionInParens(int i) {
      return getRuleContext(SupportsConditionInParensContext.class, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<TerminalNode> Space() {
      return getTokens(CSS3Parser.Space);
    }

    public TerminalNode Space(int i) {
      return getToken(CSS3Parser.Space, i);
    }

    public List<TerminalNode> And() {
      return getTokens(CSS3Parser.And);
    }

    public TerminalNode And(int i) {
      return getToken(CSS3Parser.And, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_supportsConjunction;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterSupportsConjunction(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitSupportsConjunction(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitSupportsConjunction(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class SupportsDisjunctionContext extends ParserRuleContext {

    public SupportsDisjunctionContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<SupportsConditionInParensContext> supportsConditionInParens() {
      return getRuleContexts(SupportsConditionInParensContext.class);
    }

    public SupportsConditionInParensContext supportsConditionInParens(int i) {
      return getRuleContext(SupportsConditionInParensContext.class, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<TerminalNode> Space() {
      return getTokens(CSS3Parser.Space);
    }

    public TerminalNode Space(int i) {
      return getToken(CSS3Parser.Space, i);
    }

    public List<TerminalNode> Or() {
      return getTokens(CSS3Parser.Or);
    }

    public TerminalNode Or(int i) {
      return getToken(CSS3Parser.Or, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_supportsDisjunction;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterSupportsDisjunction(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitSupportsDisjunction(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitSupportsDisjunction(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class SupportsDeclarationConditionContext extends ParserRuleContext {

    public SupportsDeclarationConditionContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public DeclarationContext declaration() {
      return getRuleContext(DeclarationContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_supportsDeclarationCondition;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterSupportsDeclarationCondition(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitSupportsDeclarationCondition(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitSupportsDeclarationCondition(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class GeneralEnclosedContext extends ParserRuleContext {

    public GeneralEnclosedContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Function() {
      return getToken(CSS3Parser.Function, 0);
    }

    public List<AnyContext> any() {
      return getRuleContexts(AnyContext.class);
    }

    public AnyContext any(int i) {
      return getRuleContext(AnyContext.class, i);
    }

    public List<UnusedContext> unused() {
      return getRuleContexts(UnusedContext.class);
    }

    public UnusedContext unused(int i) {
      return getRuleContext(UnusedContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_generalEnclosed;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterGeneralEnclosed(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitGeneralEnclosed(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitGeneralEnclosed(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class VarContext extends ParserRuleContext {

    public VarContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Var() {
      return getToken(CSS3Parser.Var, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public TerminalNode Variable() {
      return getToken(CSS3Parser.Variable, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_var;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterVar(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitVar(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitVar(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class CalcContext extends ParserRuleContext {

    public CalcContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Calc() {
      return getToken(CSS3Parser.Calc, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public CalcSumContext calcSum() {
      return getRuleContext(CalcSumContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_calc;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterCalc(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitCalc(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitCalc(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class CalcSumContext extends ParserRuleContext {

    public CalcSumContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<CalcProductContext> calcProduct() {
      return getRuleContexts(CalcProductContext.class);
    }

    public CalcProductContext calcProduct(int i) {
      return getRuleContext(CalcProductContext.class, i);
    }

    public List<TerminalNode> Space() {
      return getTokens(CSS3Parser.Space);
    }

    public TerminalNode Space(int i) {
      return getToken(CSS3Parser.Space, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<TerminalNode> Plus() {
      return getTokens(CSS3Parser.Plus);
    }

    public TerminalNode Plus(int i) {
      return getToken(CSS3Parser.Plus, i);
    }

    public List<TerminalNode> Minus() {
      return getTokens(CSS3Parser.Minus);
    }

    public TerminalNode Minus(int i) {
      return getToken(CSS3Parser.Minus, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_calcSum;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterCalcSum(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitCalcSum(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitCalcSum(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class CalcProductContext extends ParserRuleContext {

    public CalcProductContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<CalcValueContext> calcValue() {
      return getRuleContexts(CalcValueContext.class);
    }

    public CalcValueContext calcValue(int i) {
      return getRuleContext(CalcValueContext.class, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<NumberContext> number() {
      return getRuleContexts(NumberContext.class);
    }

    public NumberContext number(int i) {
      return getRuleContext(NumberContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_calcProduct;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterCalcProduct(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitCalcProduct(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitCalcProduct(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class CalcValueContext extends ParserRuleContext {

    public CalcValueContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public NumberContext number() {
      return getRuleContext(NumberContext.class, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public DimensionContext dimension() {
      return getRuleContext(DimensionContext.class, 0);
    }

    public UnknownDimensionContext unknownDimension() {
      return getRuleContext(UnknownDimensionContext.class, 0);
    }

    public PercentageContext percentage() {
      return getRuleContext(PercentageContext.class, 0);
    }

    public CalcSumContext calcSum() {
      return getRuleContext(CalcSumContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_calcValue;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterCalcValue(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitCalcValue(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitCalcValue(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class FontFaceRuleContext extends ParserRuleContext {

    public FontFaceRuleContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode FontFace() {
      return getToken(CSS3Parser.FontFace, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<FontFaceDeclarationContext> fontFaceDeclaration() {
      return getRuleContexts(FontFaceDeclarationContext.class);
    }

    public FontFaceDeclarationContext fontFaceDeclaration(int i) {
      return getRuleContext(FontFaceDeclarationContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_fontFaceRule;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterFontFaceRule(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitFontFaceRule(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitFontFaceRule(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class FontFaceDeclarationContext extends ParserRuleContext {

    public FontFaceDeclarationContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public FontFaceDeclarationContext() {
    }

    @Override
    public int getRuleIndex() {
      return RULE_fontFaceDeclaration;
    }

    public void copyFrom(FontFaceDeclarationContext ctx) {
      super.copyFrom(ctx);
    }
  }

  public static class KnownFontFaceDeclarationContext extends FontFaceDeclarationContext {

    public KnownFontFaceDeclarationContext(FontFaceDeclarationContext ctx) {
      copyFrom(ctx);
    }

    public PropertyContext property() {
      return getRuleContext(PropertyContext.class, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public ExprContext expr() {
      return getRuleContext(ExprContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterKnownFontFaceDeclaration(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitKnownFontFaceDeclaration(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitKnownFontFaceDeclaration(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class UnknownFontFaceDeclarationContext extends FontFaceDeclarationContext {

    public UnknownFontFaceDeclarationContext(FontFaceDeclarationContext ctx) {
      copyFrom(ctx);
    }

    public PropertyContext property() {
      return getRuleContext(PropertyContext.class, 0);
    }

    public WsContext ws() {
      return getRuleContext(WsContext.class, 0);
    }

    public ValueContext value() {
      return getRuleContext(ValueContext.class, 0);
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterUnknownFontFaceDeclaration(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitUnknownFontFaceDeclaration(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitUnknownFontFaceDeclaration(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class KeyframesRuleContext extends ParserRuleContext {

    public KeyframesRuleContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Keyframes() {
      return getToken(CSS3Parser.Keyframes, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public TerminalNode Space() {
      return getToken(CSS3Parser.Space, 0);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    public KeyframesBlocksContext keyframesBlocks() {
      return getRuleContext(KeyframesBlocksContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_keyframesRule;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterKeyframesRule(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitKeyframesRule(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitKeyframesRule(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class KeyframesBlocksContext extends ParserRuleContext {

    public KeyframesBlocksContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<KeyframeSelectorContext> keyframeSelector() {
      return getRuleContexts(KeyframeSelectorContext.class);
    }

    public KeyframeSelectorContext keyframeSelector(int i) {
      return getRuleContext(KeyframeSelectorContext.class, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<DeclarationListContext> declarationList() {
      return getRuleContexts(DeclarationListContext.class);
    }

    public DeclarationListContext declarationList(int i) {
      return getRuleContext(DeclarationListContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_keyframesBlocks;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterKeyframesBlocks(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitKeyframesBlocks(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitKeyframesBlocks(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class KeyframeSelectorContext extends ParserRuleContext {

    public KeyframeSelectorContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<TerminalNode> From() {
      return getTokens(CSS3Parser.From);
    }

    public TerminalNode From(int i) {
      return getToken(CSS3Parser.From, i);
    }

    public List<TerminalNode> To() {
      return getTokens(CSS3Parser.To);
    }

    public TerminalNode To(int i) {
      return getToken(CSS3Parser.To, i);
    }

    public List<TerminalNode> Percentage() {
      return getTokens(CSS3Parser.Percentage);
    }

    public TerminalNode Percentage(int i) {
      return getToken(CSS3Parser.Percentage, i);
    }

    public List<TerminalNode> Comma() {
      return getTokens(CSS3Parser.Comma);
    }

    public TerminalNode Comma(int i) {
      return getToken(CSS3Parser.Comma, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_keyframeSelector;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterKeyframeSelector(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitKeyframeSelector(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitKeyframeSelector(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class ViewportContext extends ParserRuleContext {

    public ViewportContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Viewport() {
      return getToken(CSS3Parser.Viewport, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public DeclarationListContext declarationList() {
      return getRuleContext(DeclarationListContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_viewport;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterViewport(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitViewport(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitViewport(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class CounterStyleContext extends ParserRuleContext {

    public CounterStyleContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode CounterStyle() {
      return getToken(CSS3Parser.CounterStyle, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    public DeclarationListContext declarationList() {
      return getRuleContext(DeclarationListContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_counterStyle;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterCounterStyle(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitCounterStyle(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitCounterStyle(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class FontFeatureValuesRuleContext extends ParserRuleContext {

    public FontFeatureValuesRuleContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode FontFeatureValues() {
      return getToken(CSS3Parser.FontFeatureValues, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public FontFamilyNameListContext fontFamilyNameList() {
      return getRuleContext(FontFamilyNameListContext.class, 0);
    }

    public List<FeatureValueBlockContext> featureValueBlock() {
      return getRuleContexts(FeatureValueBlockContext.class);
    }

    public FeatureValueBlockContext featureValueBlock(int i) {
      return getRuleContext(FeatureValueBlockContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_fontFeatureValuesRule;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterFontFeatureValuesRule(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitFontFeatureValuesRule(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitFontFeatureValuesRule(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class FontFamilyNameListContext extends ParserRuleContext {

    public FontFamilyNameListContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<FontFamilyNameContext> fontFamilyName() {
      return getRuleContexts(FontFamilyNameContext.class);
    }

    public FontFamilyNameContext fontFamilyName(int i) {
      return getRuleContext(FontFamilyNameContext.class, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<TerminalNode> Comma() {
      return getTokens(CSS3Parser.Comma);
    }

    public TerminalNode Comma(int i) {
      return getToken(CSS3Parser.Comma, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_fontFamilyNameList;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterFontFamilyNameList(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitFontFamilyNameList(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitFontFamilyNameList(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class FontFamilyNameContext extends ParserRuleContext {

    public FontFamilyNameContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode String() {
      return getToken(CSS3Parser.String, 0);
    }

    public List<IdentContext> ident() {
      return getRuleContexts(IdentContext.class);
    }

    public IdentContext ident(int i) {
      return getRuleContext(IdentContext.class, i);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_fontFamilyName;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterFontFamilyName(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitFontFamilyName(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitFontFamilyName(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class FeatureValueBlockContext extends ParserRuleContext {

    public FeatureValueBlockContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public FeatureTypeContext featureType() {
      return getRuleContext(FeatureTypeContext.class, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<FeatureValueDefinitionContext> featureValueDefinition() {
      return getRuleContexts(FeatureValueDefinitionContext.class);
    }

    public FeatureValueDefinitionContext featureValueDefinition(int i) {
      return getRuleContext(FeatureValueDefinitionContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_featureValueBlock;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterFeatureValueBlock(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitFeatureValueBlock(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitFeatureValueBlock(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class FeatureTypeContext extends ParserRuleContext {

    public FeatureTypeContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public AtKeywordContext atKeyword() {
      return getRuleContext(AtKeywordContext.class, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_featureType;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterFeatureType(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitFeatureType(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitFeatureType(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class FeatureValueDefinitionContext extends ParserRuleContext {

    public FeatureValueDefinitionContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public IdentContext ident() {
      return getRuleContext(IdentContext.class, 0);
    }

    public List<WsContext> ws() {
      return getRuleContexts(WsContext.class);
    }

    public WsContext ws(int i) {
      return getRuleContext(WsContext.class, i);
    }

    public List<NumberContext> number() {
      return getRuleContexts(NumberContext.class);
    }

    public NumberContext number(int i) {
      return getRuleContext(NumberContext.class, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_featureValueDefinition;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterFeatureValueDefinition(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitFeatureValueDefinition(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitFeatureValueDefinition(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class IdentContext extends ParserRuleContext {

    public IdentContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public TerminalNode Ident() {
      return getToken(CSS3Parser.Ident, 0);
    }

    public TerminalNode MediaOnly() {
      return getToken(CSS3Parser.MediaOnly, 0);
    }

    public TerminalNode Not() {
      return getToken(CSS3Parser.Not, 0);
    }

    public TerminalNode And() {
      return getToken(CSS3Parser.And, 0);
    }

    public TerminalNode Or() {
      return getToken(CSS3Parser.Or, 0);
    }

    public TerminalNode From() {
      return getToken(CSS3Parser.From, 0);
    }

    public TerminalNode To() {
      return getToken(CSS3Parser.To, 0);
    }

    @Override
    public int getRuleIndex() {
      return RULE_ident;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterIdent(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitIdent(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitIdent(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }

  public static class WsContext extends ParserRuleContext {

    public WsContext(ParserRuleContext parent, int invokingState) {
      super(parent, invokingState);
    }

    public List<TerminalNode> Comment() {
      return getTokens(CSS3Parser.Comment);
    }

    public TerminalNode Comment(int i) {
      return getToken(CSS3Parser.Comment, i);
    }

    public List<TerminalNode> Space() {
      return getTokens(CSS3Parser.Space);
    }

    public TerminalNode Space(int i) {
      return getToken(CSS3Parser.Space, i);
    }

    @Override
    public int getRuleIndex() {
      return RULE_ws;
    }

    @Override
    public void enterRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).enterWs(this);
      }
    }

    @Override
    public void exitRule(ParseTreeListener listener) {
      if (listener instanceof CSS3Listener) {
        ((CSS3Listener) listener).exitWs(this);
      }
    }

    @Override
    public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
      if (visitor instanceof CSS3Visitor) {
        return ((CSS3Visitor<? extends T>) visitor).visitWs(this);
      } else {
        return visitor.visitChildren(this);
      }
    }
  }
}